Dashboard user access level

Currently the UXWizz user access levels are not that well structured. You normally want to use either level 5 (admin) or level 0 (read-only). UI is being implemented to show this information inside the dashboard.

You can see the up-to-date permissions/access levels inside the server/permissions.php file. Those were the permissions as of version 6.5.0:

// Permissions, 5 is the highest level

// Root
'UPDATE_PLATFORM' => 5,
'SET_LICENSE_KEY' => 5,
'CHANGE_DASHBOARD_SETTINGS' => 5,
'CHECK_LICENSE_KEY' => 5,
'SET_GPT_API_KEY' => 5,

// Administrator
'ADD_USER' => 4,
'DELETE_USER' => 4,
'SET_USER_DATA' => 4,
'SET_USER_LEVEL' => 4,
'SET_USER_MAX_DOMAINS' => 4,
'CHANGE_DOMAIN_ACCESS' => 4,
'GET_USERS_LIST' => 4,
'VIEW_DB_STATS' => 4,
'SET_OWN_USER_DATA' => 4,
'UPDATE_AB_TESTS' => 4,
'CHANGE_SETTINGS' => 4,
'CHANGE_GPT_MODEL' => 4,

// Analyst
'REMOVE_TAG' => 3,
'ADD_TAG' => 3,
'SET_RECORD_LIMIT' => 3 ,
'DELETE_RECORDED_CLIENT' => 3,
'CHANGE_OWN_DOMAIN_ACCESS' => 3,
'CHAT_WITH_AI' => 3,

'SHARE_RECORDING' => 1,

A user with level 2 will have access to all actions that require level 2 or less (2, 1, 0).

Last updated