Package org.yamcs.security
Class SystemPrivilege
- java.lang.Object
-
- org.yamcs.security.SystemPrivilege
-
public class SystemPrivilege extends Object
A system privilege is the right to perform a particular action or to perform an action on any object of a particular type.There is no 'wildcard' that represent all system privileges. For such behaviour you should instead consider granting a user the 'superuser' attribute.
This is not an enum because of extensibility reasons.
-
-
Field Summary
Fields Modifier and Type Field Description static SystemPrivilegeChangeMissionDatabaseAllows to change online the MDB (calibrators, alarms and algorithms)static SystemPrivilegeCommandAllows to issue any commandsstatic SystemPrivilegeCommandOptionsAllows specifying command options (extra attributes in the command history, disable/modify verifiers)static SystemPrivilegeControlAlarmsAllows to read alarm statestatic SystemPrivilegeControlArchivingstatic SystemPrivilegeControlCommandClearancesAllows to clear users for commanding.static SystemPrivilegeControlCommandQueueAllows to control the state of command queues.static SystemPrivilegeControlLinksAllows to read link state.static SystemPrivilegeControlProcessorstatic SystemPrivilegeControlServicesAllows to control the lifecycle of servicesstatic SystemPrivilegeCreateInstancesstatic SystemPrivilegeGetMissionDatabaseAllows to read the entire Mission Database.static SystemPrivilegeManageAnyBucketAllows to manage buckets of any kindstatic SystemPrivilegeModifyCommandHistorystatic SystemPrivilegeReadAlarmsAllows to read alarm statestatic SystemPrivilegeReadCommandHistorystatic SystemPrivilegeReadEventsstatic SystemPrivilegeReadLinksAllows to read link state.static SystemPrivilegeReadTablesstatic SystemPrivilegeReadThreadsAllows to read thread informationstatic SystemPrivilegeWriteEventsstatic SystemPrivilegeWriteTables
-
Constructor Summary
Constructors Constructor Description SystemPrivilege(String name)
-
-
-
Field Detail
-
ControlProcessor
public static final SystemPrivilege ControlProcessor
-
ReadCommandHistory
public static final SystemPrivilege ReadCommandHistory
-
ModifyCommandHistory
public static final SystemPrivilege ModifyCommandHistory
-
ControlCommandQueue
public static final SystemPrivilege ControlCommandQueue
Allows to control the state of command queues.
-
ControlCommandClearances
public static final SystemPrivilege ControlCommandClearances
Allows to clear users for commanding.
-
Command
public static final SystemPrivilege Command
Allows to issue any commands
-
CommandOptions
public static final SystemPrivilege CommandOptions
Allows specifying command options (extra attributes in the command history, disable/modify verifiers)
-
GetMissionDatabase
public static final SystemPrivilege GetMissionDatabase
Allows to read the entire Mission Database.
-
ReadAlarms
public static final SystemPrivilege ReadAlarms
Allows to read alarm state
-
ControlAlarms
public static final SystemPrivilege ControlAlarms
Allows to read alarm state
-
ControlArchiving
public static final SystemPrivilege ControlArchiving
-
ReadLinks
public static final SystemPrivilege ReadLinks
Allows to read link state.
-
ControlLinks
public static final SystemPrivilege ControlLinks
Allows to read link state.
-
ControlServices
public static final SystemPrivilege ControlServices
Allows to control the lifecycle of services
-
CreateInstances
public static final SystemPrivilege CreateInstances
-
ManageAnyBucket
public static final SystemPrivilege ManageAnyBucket
Allows to manage buckets of any kind
-
ReadEvents
public static final SystemPrivilege ReadEvents
-
WriteEvents
public static final SystemPrivilege WriteEvents
-
WriteTables
public static final SystemPrivilege WriteTables
-
ReadTables
public static final SystemPrivilege ReadTables
-
ReadThreads
public static final SystemPrivilege ReadThreads
Allows to read thread information
-
ChangeMissionDatabase
public static final SystemPrivilege ChangeMissionDatabase
Allows to change online the MDB (calibrators, alarms and algorithms)
-
-
Constructor Detail
-
SystemPrivilege
public SystemPrivilege(String name)
-
-