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

PropertyReturnsDescription
categoryStringThe category this role is grouped under when listed in the admin UI.
descriptionStringThe human-readable description of this role, shown in role assignment screens.
nameStringThe 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.

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