Add new button showing when it shouldn't
Last updated
Last updated
Users do not have the permission to create a new record, but the Add new button is still showing on List Layout.
Reasons:
The Add new button will always appear for admins, to see the change you need to preview as a user
Create permissions is still enabled
User Roles need to be updated
Example:
When previewing as an end user, the Add new button shows on the page. In this situation, we don't want them to have the ability to create a new "Position".
Select the table in Manage fields and data
Select Permissions
Add a new permission or edit an existing one
Decide which Users this will affect under Permission Sharing, select Some Users
Remove the ability to Create by unchecking the box at the top of the table
Go to App Settings
Select Roles
Choose the role that should not be able to create new records
Uncheck the setting “Read/Modify all data”
The role will appear for you to apply permissions on