Grants read-only access to product resources within the granted organisation, for admin users who need to view products in the admin console without being able to manage them. Applies to any resource implementing ProductResource.
Implements: Role
Properties
| Property | Returns | Description |
|---|---|---|
| category | String | The category this role is grouped under when listed in the admin UI. |
| description | String | The human-readable description of this role, shown in role assignment screens. |
| name | String | 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
The unique key this role is registered under.
getDescription()
Returns: String
The human-readable description of this role, shown in role assignment screens.
getCategory()
Returns: String
The category this role is grouped under when listed in the admin UI.