How tTo remove options from field when one doesnt have particular role
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-09-2024 02:33 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-11-2024 04:00 AM
Hi @RkK455802320017, please elaborate. Are you saying that you'd delete sys_choice records without having the role role that the /delete ACL imposes?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2024 07:25 AM
Hi @p_kanczugowski ,
suppose if a person doesnt have the role 'itil', then he/she must have only one option '3-Low ' in impact field. remaining options should not be visibile to that person
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-11-2024 04:19 AM
Hi @RkK455802320017 ,
You can use client script with below code
if (g_user.hasRole('role_of_user')){
g_form.removeOption();
}
Please mark my response helpful if it resolves your issue.