modusergrouprole.class.php 1.1 KB

123456789101112131415161718192021222324252627
  1. <?php
  2. /*
  3. * This file is part of MODX Revolution.
  4. *
  5. * Copyright (c) MODX, LLC. All Rights Reserved.
  6. *
  7. * For complete copyright and license information, see the COPYRIGHT and LICENSE
  8. * files found in the top-level directory of this distribution.
  9. */
  10. /**
  11. * Represents a Role that a User can have within a specific User Group. Roles are sorted into authority levels, where
  12. * lower authority numbers will automatically inherit Permissions owned by higher authority numbers.
  13. *
  14. * For example, an Administrator with authority of 1 will automatically inherit any Permissions assigned to a Member
  15. * role with authority 9999, since 1 is less than 9999. However, the reverse will not be true.
  16. *
  17. * @property string $name The name of the Role
  18. * @property string $description A user-provided description of this Role
  19. * @property int $authority The authority of the role. Lower authority numbers have more power than higher ones, and
  20. * lower numbers will inherit the Permissions of higher numbers.
  21. *
  22. * @see modUser
  23. * @see modUserGroup
  24. * @package modx
  25. */
  26. class modUserGroupRole extends xPDOSimpleObject {}