Grants read-only access to reports registered under the "ReportsViewer" role name. Applies to report pages, the queries folder and any controller resource tagged as a reports viewer resource, scoped to organisations within the role's granted organisation or repository. Only grants READ_CONTENT, so it lets a profile view reports without being able to edit them; which reports are actually visible to a holder of this role is further narrowed by ReportingAccessRole.
Implements: Role
Properties
| Property | Returns | Description |
|---|---|---|
| category | String | Grouping this role is listed under in the admin role picker, always the administrative category. |
| description | String | Human-readable summary of what this role grants, shown to admins when assigning roles. |
| name | String | Unique key this role is registered under, the fixed string "ReportsViewer". |
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
Unique key this role is registered under, the fixed string "ReportsViewer".
getDescription()
Returns: String
Human-readable summary of what this role grants, shown to admins when assigning roles.
getCategory()
Returns: String
Grouping this role is listed under in the admin role picker, always the administrative category.