Grants read-only visibility of leads and other lead manager resources across a user's team, without the write access that SalesManagerRole carries. Delegates its applicability check to an internal SalesManagerRole instance, so the same team-scoping rules apply, but grants only READ privileges rather than READ_WRITE. Registered under the name LeadManApp.ROLE_SALES_TEAM_VIEWER ("SalesTeamViewer").
Implements: Role
Properties
| Property | Returns | Description |
|---|---|---|
| category | String | The group this role is listed under in the role picker. |
| description | String | A short, human-readable summary of what this role grants, shown in the role picker. |
| name | String | This role's registered name, "SalesTeamViewer". |
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
This role's registered name, "SalesTeamViewer".
getDescription()
Returns: String
A short, human-readable summary of what this role grants, shown in the role picker.
getCategory()
Returns: String
The group this role is listed under in the role picker.