MidCOM's new ACL editor released
MidCOM has had a comprehensive Access Control Lists system since last summer, but its usage has been hindered by lack of an easy management tool. That is now fixed with the first stable release of the Midgard ACL editor.
The editor supports both regular group assignees and the “magic” assignees like EVERYONE
. All assignees that have a privilege to the current object are shown in the management tool, and new assignees can be added from the pulldown:
For now adding persons or virtual groups as assignees is not supported by the UI, but that will be fixed soon.
The ACL editor is already hooked into several of the main MidCOM components, and into the folder management. To add it to other components the component must use the MidCOM toolbar service, and call the following during handle
phase of execution:
// Add the permission setting link for the current object
$this->_view_toolbar->bind_to($current_object);
Updated 2006-08-17: Or, even more preferably with MidCOM 2.6.0beta2 or newer:
// Register the page with metadata service and toolbars
$_MIDCOM->bind_view_to_object($current_object);