b640dab1a93e3004acfd77ec112e9003093f35d1
[public/netxms.git] / src / client / java / netxms-client / src / main / java / org / netxms / client / constants / UserAccessRights.java
1 /**
2 *
3 */
4 package org.netxms.client.constants;
5
6 /**
7 * User access rights
8 *
9 */
10 public class UserAccessRights
11 {
12 // System-wide rights
13 public static final long SYSTEM_ACCESS_MANAGE_USERS = 0x0000000001L;
14 public static final long SYSTEM_ACCESS_SERVER_CONFIG = 0x0000000002L;
15 public static final long SYSTEM_ACCESS_CONFIGURE_TRAPS = 0x0000000004L;
16 public static final long SYSTEM_ACCESS_MANAGE_SESSIONS = 0x0000000008L;
17 public static final long SYSTEM_ACCESS_VIEW_EVENT_DB = 0x0000000010L;
18 public static final long SYSTEM_ACCESS_EDIT_EVENT_DB = 0x0000000020L;
19 public static final long SYSTEM_ACCESS_EPP = 0x0000000040L;
20 public static final long SYSTEM_ACCESS_MANAGE_ACTIONS = 0x0000000080L;
21 public static final long SYSTEM_ACCESS_DELETE_ALARMS = 0x0000000100L;
22 public static final long SYSTEM_ACCESS_MANAGE_PACKAGES = 0x0000000200L;
23 public static final long SYSTEM_ACCESS_VIEW_EVENT_LOG = 0x0000000400L;
24 public static final long SYSTEM_ACCESS_MANAGE_TOOLS = 0x0000000800L;
25 public static final long SYSTEM_ACCESS_MANAGE_SCRIPTS = 0x0000001000L;
26 public static final long SYSTEM_ACCESS_VIEW_TRAP_LOG = 0x0000002000L;
27 public static final long SYSTEM_ACCESS_VIEW_AUDIT_LOG = 0x0000004000L;
28 public static final long SYSTEM_ACCESS_MANAGE_AGENT_CFG = 0x0000008000L;
29 public static final long SYSTEM_ACCESS_PERSISTENT_STORAGE = 0x0000010000L;
30 public static final long SYSTEM_ACCESS_SEND_SMS = 0x0000020000L;
31 public static final long SYSTEM_ACCESS_MOBILE_DEVICE_LOGIN = 0x0000040000L;
32 public static final long SYSTEM_ACCESS_REGISTER_AGENTS = 0x0000080000L;
33 public static final long SYSTEM_ACCESS_READ_SERVER_FILES = 0x0000100000L;
34 public static final long SYSTEM_ACCESS_SERVER_CONSOLE = 0x0000200000L;
35 public static final long SYSTEM_ACCESS_MANAGE_SERVER_FILES = 0x0000400000L;
36 public static final long SYSTEM_ACCESS_MANAGE_MAPPING_TBLS = 0x0000800000L;
37 public static final long SYSTEM_ACCESS_MANAGE_SUMMARY_TBLS = 0x0001000000L;
38 public static final long SYSTEM_ACCESS_REPORTING_SERVER = 0x0002000000L;
39 public static final long SYSTEM_ACCESS_XMPP_COMMANDS = 0x0004000000L;
40 public static final long SYSTEM_ACCESS_MANAGE_IMAGE_LIB = 0x0008000000L;
41 public static final long SYSTEM_ACCESS_UNLINK_ISSUES = 0x0010000000L;
42 public static final long SYSTEM_ACCESS_VIEW_SYSLOG = 0x0020000000L;
43 public static final long SYSTEM_ACCESS_USER_SCHEDULED_TASKS = 0x0040000000L;
44 public static final long SYSTEM_ACCESS_OWN_SCHEDULED_TASKS = 0x0080000000L;
45 public static final long SYSTEM_ACCESS_ALL_SCHEDULED_TASKS = 0x0100000000L;
46 public static final long SYSTEM_ACCESS_SCHEDULE_SCRIPT = 0x0200000000L;
47 public static final long SYSTEM_ACCESS_SCHEDULE_FILE_UPLOAD = 0x0400000000L;
48 public static final long SYSTEM_ACCESS_SCHEDULE_MAINTENANCE = 0x0800000000L;
49 public static final long SYSTEM_ACCESS_MANAGE_REPOSITORIES = 0x1000000000L;
50 public static final long SYSTEM_ACCESS_VIEW_REPOSITORIES = 0x2000000000L;
51 public static final long SYSTEM_ACCESS_VIEW_ALL_ALARMS = 0x4000000000L;
52 public static final long SYSTEM_ACCESS_EXTERNAL_INTEGRATION = 0x8000000000L;
53
54 // Object access rights
55 public static final int OBJECT_ACCESS_READ = 0x00000001;
56 public static final int OBJECT_ACCESS_MODIFY = 0x00000002;
57 public static final int OBJECT_ACCESS_CREATE = 0x00000004;
58 public static final int OBJECT_ACCESS_DELETE = 0x00000008;
59 public static final int OBJECT_ACCESS_READ_ALARMS = 0x00000010;
60 public static final int OBJECT_ACCESS_ACL = 0x00000020;
61 public static final int OBJECT_ACCESS_UPDATE_ALARMS = 0x00000040;
62 public static final int OBJECT_ACCESS_SEND_EVENTS = 0x00000080;
63 public static final int OBJECT_ACCESS_CONTROL = 0x00000100;
64 public static final int OBJECT_ACCESS_TERM_ALARMS = 0x00000200;
65 public static final int OBJECT_ACCESS_PUSH_DATA = 0x00000400;
66 public static final int OBJECT_ACCESS_CREATE_ISSUE = 0x00000800;
67 public static final int OBJECT_ACCESS_DOWNLOAD = 0x00001000;
68 public static final int OBJECT_ACCESS_UPLOAD = 0x00002000;
69 public static final int OBJECT_ACCESS_MANAGE_FILES = 0x00004000;
70 public static final int OBJECT_ACCESS_MAINTENANCE = 0x00008000;
71
72 }