Dashboard user access level

Currently the userTrack 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 userTrack dashboard.

You can see the up-to-date permissions/access levels inside the server/permissions.php file. This is the permissions as of version 3.5.0:

// Admin permissions, 5 is the highest level
'ADD_USER' => 5,
'DELETE_USER' => 5,
'SET_USER_DATA' => 5,
'SET_USER_LEVEL' => 5,
'CHANGE_DOMAIN_ACCESS' => 5,
'GET_USERS_LIST' => 5,
'UPDATE_PLATFORM' => 5,
'SET_LICENSE_KEY' => 5,
'CHANGE_DASHBOARD_SETTINGS' => 5,
'VIEW_DB_STATS' => 4,
'SET_OWN_USER_DATA' => 4,
'UPDATE_AB_TESTS' => 4,
'CHANGE_SETTINGS' => 3,
'REMOVE_TAG' => 3,
'ADD_TAG' => 3,
'SET_RECORD_LIMIT' => 3 ,
'CHECK_LICENSE_KEY' => 3,
'DELETE_RECORDED_CLIENT' => 2,
'SHARE_RECORDING' => 1,

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