|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sas.hls.security.privilege.Privileges
public final class Privileges
A constants class which provides a comprehensive list of scoped privileges used within the system.
Scoped privileges are privileges that can be assigned to roles at specific contexts within the repository hierarchy.
Scoped privileges cannot be assigned to users directly through the GlobalPrivilegeAssignmentService
. They
must be assigned to roles at role contexts and then users and groups (who are active members of the role context) can
be assigned to the role. The assignees then have the capabilities afforded the privilege within the scoped context
they were granted.
PrivilegeService.getAvailablePrivileges(PrivilegeContext)
,
RoleDefinitionService.createRole(com.sas.hls.security.role.RoleContext, String, String, java.util.Set)
,
RoleDefinitionService.updateRole(com.sas.hls.security.role.Role)
Field Summary | |
---|---|
static Set<Privilege> |
ALL_SCOPED_PRIVILEGES
Complete set of scoped privileges within the system. |
static Privilege |
PRIVILEGE_CREATE_WORKITEMS
Scoped privilege allows users to create work items within the repository. |
static Privilege |
PRIVILEGE_DISABLE_VERSIONING
Scoped privilege allows users to disable versioning on versioned files. |
static Privilege |
PRIVILEGE_ENABLE_VERSIONING
Scoped privilege allows users to enable versioning on unversioned files. |
static Privilege |
PRIVILEGE_MANAGE_LOCKS
Scoped privilege allows users to create and manage locks on files. |
static Privilege |
PRIVILEGE_MANAGE_MEMBERSHIP
Scoped privilege allows users to manage the memberships of the organization, projects and analyses. |
static Privilege |
PRIVILEGE_MANAGE_ROLES
Scoped privilege allows users to manage role definitions, role assignments and role memberships for the organization, projects and analyses. |
static Privilege |
PRIVILEGE_MANAGE_STATE
Scoped privilege allows users to manage the "State" of projects and analyses. |
static Privilege |
PRIVILEGE_MANAGE_WORKITEMS
Scoped privilege allows users to manage work items owned by other users. |
static Privilege |
PRIVILEGE_PERMANENTLY_DELETE
Scoped privilege allows users to permanently delete objects that were logically deleted by other users. |
static Privilege |
PRIVILEGE_RESTORE
Scoped privilege allows users to restore objects that were logically deleted by other users. |
static Privilege |
PRIVILEGE_SIGN_FILE
Scoped privilege allows users to electronically sign files within the repository. |
static Privilege |
PRIVILEGE_WORKITEM_ADMINISTRATION
Scoped privilege allows users to take ownership of work items owned by other users. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Privilege PRIVILEGE_DISABLE_VERSIONING
public static final Privilege PRIVILEGE_ENABLE_VERSIONING
public static final Privilege PRIVILEGE_MANAGE_LOCKS
public static final Privilege PRIVILEGE_MANAGE_STATE
ProjectService.setProjectState(com.sas.hls.drug.project.ProjectDescriptor, com.sas.hls.common.State, String,
boolean)
,
AnalysisService.setAnalysisState(com.sas.hls.drug.analysis.AnalysisDescriptor, com.sas.hls.common.State,
String)
public static final Privilege PRIVILEGE_PERMANENTLY_DELETE
public static final Privilege PRIVILEGE_RESTORE
public static final Privilege PRIVILEGE_SIGN_FILE
public static final Privilege PRIVILEGE_MANAGE_MEMBERSHIP
public static final Privilege PRIVILEGE_MANAGE_ROLES
public static final Privilege PRIVILEGE_CREATE_WORKITEMS
public static final Privilege PRIVILEGE_MANAGE_WORKITEMS
public static final Privilege PRIVILEGE_WORKITEM_ADMINISTRATION
public static final Set<Privilege> ALL_SCOPED_PRIVILEGES
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |