Delegates - How to allow certain roles to create new delegate records for all users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-09-2014 05:35 AM
At present, you can only add a delegate to your own user record (unless you are admin)
I want to allow a group of people IE Service Desk to be able to create and write to a users delegate record.
So I created a new ACL for sys_user_delegate Create Record and allowed the servicedeskmanager role access to it, but I still get an error -
Invalid update
Cannot assign or modify other users' Delegates
I updated the other rules for sys_user_delegate table so that the servicedeskmanager role can read and write to the table, and they can see it, but when they press submit the error appears.
Any ideas how I can do this so that the servicedeskmanager role can update delegates for other users?
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-09-2014 06:20 AM
Hi Pennie,
I did not create any new ACL. Modified the script in below ACL
Record | Write | sys_user_delegate.user
as: (gs.hasRole("approval_admin") || gs.hasRole("servicedeskmanager"));
let me know if this works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-09-2014 06:30 AM
Thanks for the quick response, but I tested adding the approval_admin role to her but it didn't work. I just made the change you suggested and I still get the same error
Do I need a rule on the sys_user_delegate table aswell for create do you think?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-09-2014 07:01 AM
I am not sure if there are any other acls affecting this behaviour in your instance. You may try adding create role as well. And yes my user also had itil role, if thats the difference.
Unfortunately i don't have the system with me. You can check the modifications done by me on demo004. User is Abel Tuter and role is test_delegation_role.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-28-2015 06:28 AM
This is an older thread but wanted to do the same thing. For anyone that happens upon this thread you also need to modify the "Delegates" business rule.