Grants read-write access to leads, and tasks related to leads, that have not yet been assigned to anyone, so a user holding this role can see and claim them. Applies only when the lead's organisation is within the acting group's organisation scope, and only while the lead remains unassigned; once a lead is assigned this role no longer applies to it. Registered under the name LeadManApp.ROLE_TAKE_LEAD ("TakeLead"), and is intended to be combined with another lead management role such as SalesRole rather than granted on its own.
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, "TakeLead". |
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, "TakeLead".
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.