---
schema_version: "1"
id: d2f87c463bffe20a4bf7e4c243a1d374140a95f8cbadde49fb419bf5fd61d714
title: Set Up Roles and Hierarchies for Shifts
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/ls_set_up_roles_and_hierarchies.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.ls_set_up_roles_and_hierarchies.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 590865404e8f3bc9104e2faec1a672dacdd19784017896b60ce3558842674b72
description: Roles and hierarchies define who reports to whom and help define the approval process for shifts. You can assign users who own a specific role for various service territories. For example, Adam is a bank manager and John is a retail banker. You can create a territory manager role and a retail banker role, where the retail banker reports to the territory manager. Assign the territory manager role to Adam and the retail banker role to John. By using this hierarchy, Adam can create shifts and then ask John to confirm his availability by approving shifts.
products:
  - Scheduler
  - Salesforce Platform
release: "264"
---
# Set Up Roles and Hierarchies for Shifts

Roles and hierarchies define who reports to whom and help define the approval process for shifts. You can assign users who own a specific role for various service territories. For example, Adam is a bank manager and John is a retail banker. You can create a territory manager role and a retail banker role, where the retail banker reports to the territory manager. Assign the territory manager role to Adam and the retail banker role to John. By using this hierarchy, Adam can create shifts and then ask John to confirm his availability by approving shifts.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience.</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong> and <strong>Unlimited</strong> Editions</td></tr></tbody></table>

However, to provide community and partner users permissions to share shifts, create public groups. For example, if contractors want to work with service territory managers for their availability in the service territory, you can define public groups for contractors and set up shift sharing rules for them.

- **[Create Roles and Hierarchies](https://help.salesforce.com/s/articleView?id=platform.ls_create_roles_and_hierarchies.htm&release=264.0.0&type=5)**  
    Create roles and hierarchies, and then assign users to the created roles.
- **[Create Public Groups](https://help.salesforce.com/s/articleView?id=platform.ls_create_public_groups.htm&release=264.0.0&type=5)**  
    Create public groups for external users.
- **[Configure Shift Sharing Rule](https://help.salesforce.com/s/articleView?id=platform.ls_configure_shift_sharing_rules.htm&release=264.0.0&type=5)**  
    To share shifts with external users, define shift sharing rules. For example, contractors are external users with whom a service territory manager shares shifts for approval. To share shifts, use the contractors public group and then select the roles in that group to whom you want to grant access.