Salesforce uses a central Group object to manage visibility related to the Role Hierarchy, Territory Hierarchy, Public Groups and Queues. When administrative changes occur in these areas a group membership lock is taken to ensure data integrity is maintained while complex sharing calculations are completed. The following activities take out group membership locks for the duration of their transaction:
- Role creation
- Role deletion
- Moving a role in the hierarchy
- Adding a user to a territory
- Removing a user from a territory
- Moving a territory in the hierarchy
- Territory deletion
- Territory creation
