Making menu check permissions

Driving menu programmatically to let it check permissions before show
on the list.