includes/constants.php
changeset 511 f88c8c79d784
parent 507 586fd7d3202d
child 513 c15fbf197a54
equal deleted inserted replaced
510:290fa071842a 511:f88c8c79d784
    27 
    27 
    28 define('ACL_TYPE_GROUP', 1);
    28 define('ACL_TYPE_GROUP', 1);
    29 define('ACL_TYPE_USER', 2);
    29 define('ACL_TYPE_USER', 2);
    30 define('ACL_TYPE_PRESET', 3);
    30 define('ACL_TYPE_PRESET', 3);
    31 
    31 
       
    32 // ACL switch
       
    33 // If this is defined, administrators can edit ACLs regardless of current
       
    34 // permissions. This is enabled by default.
       
    35 define('ACL_ALWAYS_ALLOW_ADMIN_EDIT_ACL', 1);
       
    36 
    32 // System groups
    37 // System groups
    33 define('GROUP_ID_ADMIN', 2);
    38 define('GROUP_ID_ADMIN', 2);
    34 define('GROUP_ID_MOD', 3);
    39 define('GROUP_ID_MOD', 3);
    35 
    40 
    36 // Page group types
    41 // Page group types
    37 define('PAGE_GRP_CATLINK', 1);
    42 define('PAGE_GRP_CATLINK', 1);
    38 define('PAGE_GRP_TAGGED', 2);
    43 define('PAGE_GRP_TAGGED', 2);
    39 define('PAGE_GRP_NORMAL', 3);
    44 define('PAGE_GRP_NORMAL', 3);
    40 define('PAGE_GRP_REGEX', 4);
    45 define('PAGE_GRP_REGEX', 4);
    41 
    46 
    42 // Identifier for the default meta-language
    47 // Identifier for the default pseudo-language
    43 define('LANG_DEFAULT', 0);
    48 define('LANG_DEFAULT', 0);
    44 
    49 
    45 //
    50 //
    46 // User types - don't touch these
    51 // User types - don't touch these
    47 //
    52 //