Jump to content

Hide Sections In Settings If User Does Not Have Permissions For It


Recommended Posts

Posted

Hi

 

It would make for a much cleaner interface if, in Company and System Settings the icons/links to sections are only shown if the logged in user has permission to access them.

 

Changes needed are quite small. By way of example, attached are patches for   admin_settings_system.pdt, admin_settings_company.pdt and  settings_leftnav.pdt

 

It simply checks the user permissions and only displays the icon if the user is allowed.

 

-Barry

 

 

EDIT: Original patches removed for now as they would probably not work on other systems due to differing ids. Re-doing them to be universal.

 

EDIT 2: patches attached.

 

 

 

 

admin_settings_company.pdt.patch.txt

settings_leftnav.pdt.patch.txt

admin_settings_system.pdt.patch.txt

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...