How do you remove Application file protection policy

acoop
Kilo Contributor

How do you remove the read only from application files?

1 ACCEPTED SOLUTION

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hello April,



Some application code shipped with the ServiceNow system requires special protection. When an application file has a Read-only protection policy, nobody can modify the related record. Only a ServiceNow employee can alter the protection policy and then modify the application file or its related record. A ServiceNow employee cannot make any changes without changing the policy designation first.


To prevent customizations from being overwritten by system upgrades, the upgrade process automatically skips changes to customer-updated records. If you modify an application file or related record that is later designated as Read-only in an upgrade, the application file maintains the default protection policy of Write. You keep the existing modifications and can continue modifying the records.


Note


Note: Should you revert a customized file to its baseline state, then the record inherits the new protection policy as well. This could result in a record going from a Write protection policy to a Read-only protection policy.

View solution in original post

5 REPLIES 5

Brad Tilton
ServiceNow Employee
ServiceNow Employee

Hi April,



If you're the author of the application, you should be able to edit the protection policy, but if you've installed it you won't be able to to change the policy. The protection policies exist to allow application authors to prevent their code from being changed or even read in some cases.


In the event when the author of the application changes the protection policy from read-only to none, how does the upgrade of the application look like?

Alikutty A
Tera Sage

Hi April,



Please find the write ACL for protection policy.



find_real_file.png



Admin can update its value for applications whose scope is not global. This means you cannot change it for application files corresponding to Service Now Applications. You can update it for your scoped custom applications but cannot change it for the ones which are installed as mentioned by Brad.



Thanks


Please Hit like, Helpful or Correct depending on the impact of the response


Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hello April,



Some application code shipped with the ServiceNow system requires special protection. When an application file has a Read-only protection policy, nobody can modify the related record. Only a ServiceNow employee can alter the protection policy and then modify the application file or its related record. A ServiceNow employee cannot make any changes without changing the policy designation first.


To prevent customizations from being overwritten by system upgrades, the upgrade process automatically skips changes to customer-updated records. If you modify an application file or related record that is later designated as Read-only in an upgrade, the application file maintains the default protection policy of Write. You keep the existing modifications and can continue modifying the records.


Note


Note: Should you revert a customized file to its baseline state, then the record inherits the new protection policy as well. This could result in a record going from a Write protection policy to a Read-only protection policy.