Hi,
I have built a fairly simple employee directory component for modx and I have created a section for it in the manager menu which I want to secure with permissions.
I have read through the documentation and watched Shauns video so I think I am familiar with the way permissions work in modx.
What I have tried to do is add a permission to the modx manager menu item and assign that permission to a policy (to begin with I was going to add it to the administration policy).
So what I tried was :
Added ’employeedirectory’ permission to the component menu (I have a menu called EmployeeDirectory in the admin with my custom component actions under it).
When I look for the permission in Policy Templates it is not in the list. Is there somewhere else to map permissions to custom actions ?
Any help on this would be very much appreciated
edit:
I Forgot to say the aim is to allow certain users to add different parts of the directory. So someone will enter the employees in the directory. Someone else will fill out their locations or the sites they work on etc.etc.
I would like to lock these down to seperate permissions if thats possible.