When a user creates a script include, the protection policy is automatically setting it to read only so they are unable to edit/make changes to their script include after it has been created.
Steps to Reproduce
- Ensure the Human Resources Scoped App: Core (com.sn_hr_core) plugin has been activated.
- Verify the System Administrator has the sn_hr_core roles.
- Navigate to the cogwheel in the top right corner and change the application from global to Human Resources: Core.
- Navigate to Script Includes and try to create a new script include.
- See that the Protection Policy is automatically set to Read Only and is greyed out so that the user cannot make an adjustment.
- If the user creates the script include and saves it, they cannot edit the script include if they navigate to it again.
NOTE: This issue does not appear to be limited to Script Includes created within the the Human Resources App Scope, other app scopes can also affected.
The workaround is to disable the client script Make default protection policy.
Related Problem: PRB742129