- const SESSION_TYPE_WIDGET = 1;
- const SESSION_TYPE_ADMIN = 2;
-
- // Common constants
- const TYPE_KS = 0; // change to be 1
- const TYPE_KAS = 1; // change to be 2
-
- const PRIVILEGE_EDIT = "edit";
- const PRIVILEGE_VIEW = "sview";
- const PRIVILEGE_LIST = "list"; // used to bypass the user filter in entry list
- const PRIVILEGE_DOWNLOAD = "download";
- const PRIVILEGE_DOWNLOAD_ASSET = 'downloadasset';
- const PRIVILEGE_EDIT_ENTRY_OF_PLAYLIST = "editplaylist";
- const PRIVILEGE_VIEW_ENTRY_OF_PLAYLIST = "sviewplaylist";
- const PRIVILEGE_ACTIONS_LIMIT = "actionslimit";
- const PRIVILEGE_SET_ROLE = "setrole";
- const PRIVILEGE_IP_RESTRICTION = "iprestrict";
- const PRIVILEGE_URI_RESTRICTION = "urirestrict";
- const PRIVILEGE_ENABLE_ENTITLEMENT = "enableentitlement";
- const PRIVILEGE_DISABLE_ENTITLEMENT = "disableentitlement";
- const PRIVILEGE_DISABLE_ENTITLEMENT_FOR_ENTRY = "disableentitlementforentry";