innoraft / kabootr

An email marketking and newsletters solution by Innoraft.
0 stars 0 forks source link

The reports page is visible to ANON user. Should not be. #56

Open sumeetpareek opened 10 years ago

sumeetpareek commented 10 years ago

The reports page is visible to ANON user. Should not be.

This needs to be deployed on AAP too.

gauravgoyal commented 10 years ago

@sumeetpareek @tkuldeep The left side bar block, which contains all the links displays access denied for anonymoys user, IMO this block should only be visible to users having role adminsitrator or kabootr administrator,

My planning :

gauravgoyal commented 10 years ago

@sumeetpareek for disabling kabootr_left_navigation block i tried hook_block_info_alter, and some more hooks related to block, but i was unable to control the visibility setting according to role. Another solution i thought was of writing a query but that is not a right thing to do. so for now doing this from UI for DCD release.