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
‎04-29-2015 01:45 AM
Thank you
Are you able to tell me how you achieve this? Which ACLS you added as this is still something we need to do
Thank you in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-31-2017 11:15 PM
I know that this is pretty old, however, I have pieced together what to do to get this done and it works well in our environment.
Hopefully, this helps someone in the future.
- Create Group Delegate Admin
- Create role delegate_admin
- Edit the write ACL sys_user_delegate.user to allow delegate_admin role write access. Edit the script with the below
- (gs.hasRole("approval_admin") || gs.hasRole("delegate_admin"));
- Create Read ACL for sys_user_delegate. Set delegate_admin role.
- Create Write ACL for sys_user_delegate. Set delegate_admin role.
- Set the Business Rule 'Delegates' to inactive.
- Create new business rule 'New Delegates'. Edit the condition on the business rule with current.user != gs.getUserID() && !gs.hasRole('admin,delegate_admin')
- Add the delegate_admin role to the Module 'Delegates' so the delegate admins can see the Delegates menu module.
- Create Notification for Admins
- Create Notification for user and delegate
The notification will send an email to the admin group, to ensure that nothing nefarious is going down. We do not expect the delegate function to happen often, outside of the Service Desk. A second notification will send an email to the delegate and the user. this is useful for when users delegate their assignments to others when going on leave, to ensure they actually know they are having responsibilities delegated to them.