Permalink
Browse files

MINOR Documentation (from r104610)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112358 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent 55294b1 commit bfe44b39096158fa111a2b37cd3691efefe41f8d @chillu chillu committed Oct 15, 2010
Showing with 5 additions and 0 deletions.
  1. +5 −0 security/PermissionRole.php
@@ -5,6 +5,11 @@
* Because permission codes are very granular, this lets website administrators create more
* business-oriented units of access control - Roles - and assign those to groups.
*
+ * If the <b>OnlyAdminCanApply</b> property is set to TRUE, the role can only be assigned
+ * to new groups by a user with ADMIN privileges. This is a simple way to prevent users
+ * with access to {@link SecurityAdmin} (but no ADMIN privileges) to get themselves ADMIN access
+ * (which might be implied by certain roles).
+ *
* @package sapphire
* @subpackage security
*/

0 comments on commit bfe44b3

Please sign in to comment.