Author: sevein
Date: Wed Jun 29 15:57:54 2011
New Revision: 9225
Log:
Make ACL capable to work with QubitDeaccession objects
Modified:
trunk/plugins/qbAclPlugin/lib/QubitAcl.class.php
Modified: trunk/plugins/qbAclPlugin/lib/QubitAcl.class.php
==============================================================================
--- trunk/plugins/qbAclPlugin/lib/QubitAcl.class.php Wed Jun 29 15:56:51
2011 (r9224)
+++ trunk/plugins/qbAclPlugin/lib/QubitAcl.class.php Wed Jun 29 15:57:54
2011 (r9225)
@@ -131,6 +131,7 @@
//
// TODO: Add root object to allow hierarchical ACL checks
case 'QubitAccession':
+ case 'QubitDeaccession':
case 'QubitRepository':
case 'QubitFunction':
$hasAccess = ($user->isAuthenticated() || self::$ACTIONS['read'] ==
$action);
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.