> For the complete documentation index, see [llms.txt](https://docs.stackerhq.com/stacker-astra/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stackerhq.com/stacker-astra/security/add-user-permissions/create-or-edit-a-permission-rule/permission-sharing.md).

# Permission Sharing

By default, permissions apply to all users.

You can restrict which roles a permission rule applies to, by switching from **Everyone** to **Some users**. If you're not using [User Roles](https://support.stackerhq.com/hc/en-us/articles/4409591860243-Set-up-User-Roles), then you will only be able to select the default **'User'**. This means that all users in your app will be given the same level of access. If you are using custom **User Roles**, you can choose to apply a permission rule to one or more of these Roles.

By creating [Multiple Permission Rules](https://support.stackerhq.com/hc/en-us/articles/4409598072979-Multiple-permission-rules), you can give different permissions to your users based on their Role - by applying different User Roles to different permission rules.

<figure><img src="https://3670244749-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6QaGf7ZvNU2Re8mlQTaJ%2Fuploads%2Fx7ULTgIivUcuawYjbScK%2FScreenshot%202022-02-04%20at%2016.30.49.png?alt=media&amp;token=930261e6-34fe-44a0-ae33-762e2c031c67" alt=""><figcaption></figcaption></figure>
