Grants a profile permission to view and manage Kademi subscription records within an organisation. This is the administrative role for the Kademi subscription app: a profile holding it can access the "Subscriptions" and "Manage Subscription" admin pages and can read and write subscription resources (ManageKademiSubscription and ManageKademiSubscriptions) anywhere within its organisation. It is checked alongside the general AdminApp admin role when the subscription app decides whether to show its menu item.
Implements: Role
Properties
| Property | Returns | Description |
|---|---|---|
| category | String | Grouping used to organise this role in the "add role to group" admin UI. |
| description | String | Human readable explanation of what this role allows, shown to administrators when assigning roles. |
| name | String | Fixed identifier for this role, used when persisting and looking up role assignments. |
Inherited from Role
Methods
canConnectToOrganisation()
Returns: boolean
Convenience method for callers, such as Velocity templates, which just need to know if this role can be assigned within an organisation context, without dealing with the TargetType enum directly.
canConnectToRepository()
Returns: boolean
Convenience method for callers, such as Velocity templates, which just need to know if this role can be assigned within a repository (or website) context, without dealing with the TargetType enum directly.
Methods
getName()
Returns: String
Fixed identifier for this role, used when persisting and looking up role assignments.
getDescription()
Returns: String
Human readable explanation of what this role allows, shown to administrators when assigning roles.
getCategory()
Returns: String
Grouping used to organise this role in the "add role to group" admin UI.