메소드 |
설명 |
|
build_permission_dropdown ( $options, $default_option, $permission_scope ) |
Build dropdown field for changing permission types |
|
build_subforum_options ( $forum_list ) |
Build +subforum options |
|
check_assigned_role ( $role_id, &$auth_settings ) |
Compare auth settings with auth settings from role
returns false if they differ, true if they are equal |
|
check_existence ( $mode, &$ids ) |
Check if selected items exist. Remove not found ids and if empty return error. |
|
copy_forum_permissions ( ) |
Handles copying permissions from one forum to others |
|
log_action ( $mode, $action, $permission_type, $ug_type, $ug_id, $forum_id ) |
Log permission changes |
|
main ( $id, $mode ) |
|
|
permission_trace ( $user_id, $forum_id, $permission ) |
Display a complete trace tree for the selected permission to determine where settings are set/unset |
|
remove_permissions ( $mode, $permission_type, &$auth_admin, &$user_id, &$group_id, &$forum_id ) |
Remove permissions |
|
retrieve_defined_user_groups ( $permission_scope, $forum_id, $permission_type ) |
Get already assigned users/groups |
|
set_all_permissions ( $mode, $permission_type, &$auth_admin, &$user_id, &$group_id ) |
Apply all permissions |
|
set_permissions ( $mode, $permission_type, &$auth_admin, &$user_id, &$group_id ) |
Apply permissions |
|