This blog post is based on a recent question that I got from a blog reader in a blog post related to List Formatting:
Is there a way to disable the edit capabilities when users click on the “View” button? I want users to be able to view their entries after they create the item, but not edit it.
You cannot disable the capabilities directly with List Formatting or via list settings only.
But you can do this by creating a custom permission level. Check out the steps needed.
Handle Advanced Site Permissions settings
From the Site Settings menu, select Site permissions:

Then go to Advanced permissions settings:

From this menu , you can see all available permission levels for a site by clicking on Permission levels:

Clone the ‘Contribute’ permission level with tweaks
From the permission levels list, select Contribute, and scroll to the bottom of the page to click the button Copy Permission Level:

A new permission level page will load with…
Source link
More About This Author

-
SharePoint and Office 365 Consultant/Developer always trying to get the best from Microsoft stack (Microsoft 365/Azure/Power Platform and related stuff).
Living in Ireland since 2018, I had previously worked in Brazil as a consultant/developer for Office 365, SharePoint and related technologies for almost 10 years.
Array
Modern Workplace19 November 2023Ignite 2023: Curated blog posts with Microsoft 365 & Power Platform Updates
Modern Workplace4 November 2023Getting the proper SharePoint list columns internal names to use in List Formatting JSON
Modern Workplace25 October 2023Create parent and child records with a single WebAPI call in Power Pages
Modern Workplace21 October 2023How to allow users to only Add and View SharePoint list items (block editing/deleting)