Grants read and write-content access to voucher resources, for the cashier who accepts vouchers for purchase and marks them off as redeemed. Applies to any resource implementing IVoucherResource whose organisation is within the granted organisation, and to repository resources within the same repository as the granted repository.
Implements: Role
Properties
| Property | Returns | Description |
|---|---|---|
| category | String | Category this role is grouped under in the role management admin UI. |
| description | String | Human-readable description of what this role permits, shown in the role management admin UI. |
| name | String | Role name used as the unique key this role is registered under. |
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
Role name used as the unique key this role is registered under.
getDescription()
Returns: String
Human-readable description of what this role permits, shown in the role management admin UI.
getCategory()
Returns: String
Category this role is grouped under in the role management admin UI.