Need to restrict end users access to backend forms access using direct links?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2024 10:55 PM
Expected Behaviour:
If a user with no role trying to access a direct link for Incident creation it should redirect the user to Portal View.
Current Behaviour:
It is allowing users who uses direct link to create Incident to submit the Incident via self service view of the form through backend.
Below are the steps to reproduce:
- Impersonate as end user having only role as snc_internal.
- Paste the following link to create an incident:
replace xyz with your personal instance
- Incident created does not have any role except 'snc_internal' and user is presented Self Service view and he or she able to submit the Incident directly.
Please help me how can I restrict this behavior.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2024 01:24 AM
You can write an onLoad Client Script, check for fulfiller/backend roles and if they do not exist, redirect to the portal either an incident form for new records or the ticket page of the opened incident
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2024 02:05 AM
Hi @micky09
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************