How to make it so only admins are allowed to edit form post
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2022 10:16 AM
Hello, I am trying to make it so that when a user submits a form request, they are only allowed to view the form and not edit it. The only people that are allowed to edit this page are the admins and the user that created the request themselves. I do not have access to ACL, and I have tried assigning roles to users that are not admin through the tables section in system definition, however they are able to edit the page. I was wondering how I could enable it so that regular users could not edit the submitted pages.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2022 10:23 AM
Hi
Not sure what you mean by not having access to ACL as ACL's will be best solution for your requirement.
If you dont want to do via ACL then you can try using UI Policy or client script where you can check if g_form.isNewRecord() and if not then make it readonly checking logged in user role.
Hope this helps
Thank you
Prasad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2022 10:33 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2022 10:37 AM
Click on your name in the upper right, select "Elevate Roles" then in the dialog that shows up select "security_admin" and click ok.
If you do not have the "security_admin" role listed you need to talk to the ServiceNow admins who control this and get it assigned to you.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2022 10:59 AM
Yes As Drew mention elevate roles and then have ACL to lock the for post submission with Admin.
Thank you
Prasad