Grants a profile permission to view and purchase products in an eCommerce store within the granted organisation. Applies to any resource implementing iStoreViewer, either organisation-wide or scoped to the store's own website when granted at the repository level.
Implements: Role
Properties
| Property | Returns | Description |
|---|---|---|
| category | String | Grouping this role belongs to in the roles administration screens. |
| description | String | Explains what this role grants, shown alongside its name in the roles administration screens. |
| name | String | Display name of this role, shown to administrators when granting or reviewing organisation roles. |
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
Display name of this role, shown to administrators when granting or reviewing organisation roles.
getDescription()
Returns: String
Explains what this role grants, shown alongside its name in the roles administration screens.
getCategory()
Returns: String
Grouping this role belongs to in the roles administration screens.