How to Create a Custom Permission in SharePoint
Author: Eitan Talmi
Introduction
In this guide, we will walk you through the process of setting up a unique permission level that allows users to edit documents without the ability to download them. This specific permission setup is crucial for maintaining document security while still enabling collaboration and content modification. Whether you're an IT administrator or a SharePoint power user, this guide will provide you with the necessary steps and best practices to implement this custom permission effectively.
Phase 1: Creating the New Permission Level
- On step b, you need to change the URL to your SharePoint site URL.
- Run PowerShell 7 as Administrator.
- Run the following commands:
a. Install-Module -Name "PnP.PowerShell"
b. Connect-PnPOnline -Url https://yourdomain.sharepoint.com/sites/test -UseWebLogin
c. Add-PnPRoleDefinition -RoleName "Edit without Download" -Clone "Contribute" -Exclude "DeleteListItems", "DeleteVersions", "ManagePermissions", "ManageWeb", "AddAndCustomizePages", "ApplyThemeAndBorder", "ApplyStyleSheets", "CreateSSCSite", "UseRemoteAPIs", "OpenItems", "ViewVersions", "CancelCheckout", "ManagePersonalViews", "AddDelPrivateWebParts", "UpdatePersonalWebParts", "CreateGroups", "ManageAlerts", "CreateAlerts", "EditMyUserInfo", "EnumeratePermissions"
Phase 2: Assigning the Permission to a Specific Folder
- Choose the folder you want to set the permission on.
- Click on the three dots and choose Manage.
- Click on Advanced settings.
- Click on Stop Inheriting Permissions.
- Click on Grant Permissions.
- Type the username you want to share with.
- Click on Show options and choose Edit without Download from the list.
- Click on Share.




