Class Permission
java.lang.Object
com.xebialabs.deployit.engine.api.dto.AbstractDto
com.xebialabs.deployit.engine.api.security.Permission
XL Deploy supports a role-based access control scheme to ensure the security of your middleware and deployments.
The security mechanism is based on the concepts of roles and permissions. A (security) role is a group of entities
that can be authenticated and that can be assigned permissions over resources in XL Deploy. These rights can be either
global (that is, they apply to all of XL Deploy, such as login permission) or relevant for a particular CI or set
of CIs (for instance, the permission to read certain CIs in the repository).
The security system uses the same permissions whether the system is accessed via the GUI or the CLI.
-
Constructor Summary
-
Method Summary
Methods inherited from class com.xebialabs.deployit.engine.api.dto.AbstractDto
toString
-
Constructor Details
-
Permission
public Permission() -
Permission
-
-
Method Details
-
getPermissionName
- Returns:
- The name of the permission.
-
setPermissionName
- Parameters:
permissionName
- The name of the permission.
-
getLevel
- Returns:
- Whether this permission is global permissions, or applicable on a CI level. Possible values: GLOBAL or CI.
-
setLevel
- Parameters:
level
- Whether this permission is global permissions, or applicable on a CI level. Possible values: GLOBAL or CI.
-
getRoot
- Returns:
- If set, the root node in the repository this permission is relevant for. Possible values:
Applications
,Environments
orInfrastructure
.
-
setRoot
- Parameters:
root
- If set, the root node in the repository this permission is relevant for. Possible values:Applications
,Environments
orInfrastructure
.
-