Restrict Standard Change Templates to members of the template owner group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-03-2018 06:34 AM
Hi All,
Currently anyone can create a standard change from available templates. I want it to restricted to only allow members of the template owner group to create changes from templates. EX. If a member of TEST GROUP CHNAGE1 creates a standard change template, only members of that group have access to create a change off that template.
only Members of template owner group can create standard changes from template.Non-members of template owner group are not able to create standard changes from template.
Please check and help me how to do this.
Thanks in advance!!!!
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2024 10:21 PM
Hi @James Kailukai1 ,
Thanks for the above solution, i have same requirement but i have list collector variable where it stores group names, how can we achieve by using the multiple groups to restrict the access. Please help on it.
thanks in advance,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-22-2024 05:16 AM
Hi,
A list collector is just a string of sys_ids. You can modify the above as follows:
- In step 3.1 (Flow step 3) instead of reading the sc_cat_item you can read any record where your list variable exists. Change this to read the record that holds your list field.
- In step 3.2 (Flow step 4) you would modify this code to use the variable from step 3.1 that holds the list of sys_ids. The flow variable is just a string and can contain a set of comma separated sys_ids like: "abc,123,xyz" .
As you can see the group field on the user criteria is also a "list", which is just a string of sys_ids: - The rest of the script should be the same as Step 3.3 (Flow Step 5) just uses what was stored in the variable to set the user criteria.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2025 10:05 AM - edited ‎07-16-2025 10:09 AM
This worked great!
When using the record producer to retire a std change, do you know how to limit the lookup so it only shows ones that they have access to via the User Criteria?
*edit
was able to restrict the Assignment Group selection by adding this filter
javascript: "^sys_idIN" + gs.getUser().getMyGroups()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-06-2018 07:10 AM
Hi