- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2023 08:17 PM
Hello All,
Looking for info on how to allow user/ dev group to be able to elevate and add security_admin only on DEV instance by them self. What script is needed to added to clone cleanup scripts.
TIA
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2023 09:22 PM
Hi there,
You could for example just add the role to a group and the users to that group on your DEV instance. Then just preserve those records on your DEV instance while cloning.
No script involved (or at least no need to do so, you could, though why if that's not necessary).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2023 08:37 PM
Hi @CV1 ,
You mean you need a group to be able to add security_admin role to themselves? I guess it could be added by a user already having a security_admin role and is exercising elevated privilege. Why would you need to add it to clone cleanup script?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2023 09:20 AM
Hi,
That's right but the group do not have the that option "Elevate Role" to exercise that. How can that be done so that they will be able to only on DEV instance.
TIA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2023 09:22 PM
Hi there,
You could for example just add the role to a group and the users to that group on your DEV instance. Then just preserve those records on your DEV instance while cloning.
No script involved (or at least no need to do so, you could, though why if that's not necessary).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2023 10:10 PM
Hello @CV1 ,
No need to do scripting.
First you need to check that , the logged in user have the security_admin role or not. For that navigate to System Security -> Users -> Check logged in User have security_admin role in Roles related list.
Then give the security_admin role to the user who don't have. Navigate to System Security -> Users -> User who don't have security_admin role add security_admin role in Roles related list.
Please mark my solution correct or helpful, if applicable.
Thanks & Regards,
Chaitali Vale