Resinfox managing ACL privileges
Home » Resinfox acl4m:g managing access
The privileges section is where you control WHICH groups (of users) get access to WHAT privileges. The app can automatically detect <event-handlers> newly added into the ModelGlue.xml (see screenshot 1), making it very easy for the developer as well as the end user to add the process to one or more privileged groups if restricted access is required. You can get here directly by typing
http://<YOURDOMAIN>/awt/index.cfm?event=acs.mng.privileges
if using the downloaded boilerplate out of the box, or use the tabbed menu at the top
Screenshot 1 (notice new event NOT covered by access control yet)
You may initially assign a new event to all users (GLOBAL), or just to the admin; which is useful for most fundamental back-end tasks. To grant and revoke privileges, just select a group from the drop-down list and the group's respective event access will be ticked in the checkbox. Tick the events you wish to give access to the chosen group. After saving, the access control list is reloaded into the application scope, and this can take a few seconds. From here you may also reload the access control list yourself, "Cull" events from the access control lists (removes all events that have been deleted, common during the development phase of an app) and delete individual privileges (revert to a PUBLIC event).
Notice the availability of an event "description". To get this description, simply add a hint="some hint text here" attribute to the <event-handler> tag if you want to. This will not affect the M:G framework, and is simply picked up by the privileges system and stored for basic documentation.
Screenshot 2 (access permissions for the "users" group)