redback-role-model
RedbackRoleModel
package
org.apache.archiva.redback.role.model
RedbackRoleModel
1.0.0+
modelVersion
1.0.0+
String
true
applications
1.0.0+
ModelApplication
*
ModelApplication
container for applications
1.0.0+
version
1.0.0+
String
true
id
1.0.0+
String
true
description
1.0.0+
String
true
longDescription
1.0.0+
String
true
resources
1.0.0+
ModelResource
*
operations
1.0.0+
ModelOperation
*
roles
1.0.0+
ModelRole
*
templates
1.0.0+
ModelTemplate
*
ModelRole
model roles specify a role and its corresponding permissions,
child roles and parent roles to link to
1.0.0+
id
1.0.0+
String
true
true
name
either a normal name, or 'name - ${resource}'
1.0.0+
true
String
description
description of this role
1.0.0+
String
assignable
boolean specifying if a given role can assigned
1.0.0+
boolean
false
permanent
boolean specifying if a given role can be removed once
created
1.0.0+
boolean
false
permissions
1.0.0+
ModelPermission
*
parentRoles
the id of other role profiles to have create a child
relationship to this role, can accept 'foo - ${resource}'
1.0.0+
String
*
childRoles
the id of other role profiles to assign as children to this
role, can accept 'foo - ${resource}'
1.0.0+
String
*
ModelTemplate
model templates specify a role and its corresponding
permissions, child roles and parent roles to link to, however
they are generated at runtime with additional input
1.0.0+
id
1.0.0+
String
true
namePrefix
1.0.0+
String
delimiter
1.0.0+
String
-
description
description of this role
1.0.0+
String
assignable
boolean specifying if a given role can assigned
1.0.0+
boolean
false
permanent
boolean specifying if a given role can be removed once
created
1.0.0+
boolean
false
permanentResource
boolean specifying if the resource generated with this template can be removed once
created
1.0.0+
boolean
false
permissions
1.0.0+
ModelPermission
*
parentRoles
the id of other role profiles to have create a child
relationship to this role, can accept 'foo - ${resource}'
1.0.0+
String
*
childRoles
the id of other role profiles to assign as children to this
role, can accept 'foo - ${resource}'
1.0.0+
String
*
parentTemplates
the id of other templates to have create a child
relationship to this role, can accept 'foo - ${resource}'
1.0.0+
String
*
childTemplates
the id of other templates to assign as children to this
role, can accept 'foo - ${resource}'
1.0.0+
String
*
ModelResource
1.0.0+
id
1.0.0+
String
true
true
name
1.0.0+
String
true
permanent
this resource should persist even if all referring
permissions are removed
1.0.0+
boolean
false
pattern
this resource is a pattern, currently unsupported
1.0.0+
boolean
false
description
1.0.0+
String
ModelOperation
1.0.0+
id
1.0.0+
String
true
true
name
1.0.0+
true
String
description
1.0.0+
String
permanent
this operation should persist even if all referring
permissions are removed
1.0.0+
boolean
false
ModelPermission
1.0.0+
id
1.0.0+
String
true
true
name
1.0.0+
true
String
description
1.0.0+
String
permanent
this permission should persist even if referring roles are
removed
1.0.0+
boolean
false
operation
the id of the operation for this permission
1.0.0+
true
String
resource
the id of the resource for this permission, can accept
${resource} for templates
1.0.0+
true
String