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

PropertyReturnsDescription
categoryStringCategory this role is grouped under in the role management admin UI.
descriptionStringHuman-readable description of what this role permits, shown in the role management admin UI.
nameStringRole 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.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.