but that application is being showed to all the users who have system admin roles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-02-2024 09:13 PM
I have created an application , it has two roles agent and admin role , but that application is being showed to all the users who have system admin roles I dont want this to happen , for this I went to sys_scope and open my application scope and enabled application administration but I got this error .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-03-2024 12:49 AM
If you want to give access to view your application to the specific users then instead of applying any other logic, please add specific roles instead of admin role to the application.
If my answer helped you in any way, please then mark it as helpful or correct.
Thank You in advance!!
Thank you!!
Dnyaneshwaree Satpute
Tera Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-03-2024 12:56 AM
What's your question? The error tells you exactly what to do. The 'application administrator' on the role-record needs to be set to true.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-03-2024 02:44 AM
Hi @Mark Manders I have a custom table for that table I have another table in m2m relationship . I am using a get API to fetch the data from the m2m relation table . after setting this application administrator true , when I hit that api I am getting an error stating "user is not authorized to access data in this table" the user that I am using to get this API data has admin role and my custom application roles also ? as he has admin role he should access all table data but why cant he see the data in that table ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-03-2024 12:59 AM
Hello @kiran kumar m1 ,
please refer below link -
https://www.servicenow.com/community/developer-forum/enable-scoped-administration/m-p/2152389/page/2
Regards,
Vaishnavi Lathkar