Grants a sales person read-write access to leads and tasks assigned to themself, and read access to profiles and organisations within their team hierarchy. A lead or task list page is always visible, but an individual lead or task only applies when it is assigned to the current user; leads that are unassigned, or assigned to someone else, are out of scope even when they belong to the user's own team (unassigned leads are instead handled by TakeLeadRole). Registered under the name LeadManApp.ROLE_SALES ("Sales").
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, "Sales". |
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, "Sales".
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.