Comments on: Allow Group Managers to Manage Group Members https://servicenowguru.com/system-definition/group-managers-manage-group-members/ ServiceNow Consulting Scripting Administration Development Tue, 28 May 2024 21:13:47 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Anna https://servicenowguru.com/system-definition/group-managers-manage-group-members/#comment-7358 Mon, 11 Dec 2017 13:56:41 +0000 https://servicenowguru.wpengine.com/?p=1882#comment-7358 Noticed that the current user doesn’t have access to view uses table. Handling that situation solved my issue.

Thank you.

]]>
By: Mark Stanger https://servicenowguru.com/system-definition/group-managers-manage-group-members/#comment-7356 Mon, 17 Oct 2016 23:57:00 +0000 https://servicenowguru.wpengine.com/?p=1882#comment-7356 In reply to Adam Rasmussen.

I’m not sure why it’s not working in your instance but I’ve never seen an issue with this and I’ve got it running in our Crossfuze production instance successfully right now. No function required and the script exactly as shown.

]]>
By: Adam Rasmussen https://servicenowguru.com/system-definition/group-managers-manage-group-members/#comment-7355 Mon, 17 Oct 2016 18:02:23 +0000 https://servicenowguru.wpengine.com/?p=1882#comment-7355 On the Omit Edit Condition, in Fuji release, I had to create a function around this process otherwise it was I was unable to save the form. Unfortunately, it’s still showing the edit button on every group.

function checkgroupmgr(){
var answer = true;
if(gs.hasRole(‘user_admin’) || parent.manager == gs.getUserID()){
answer = false;
}
return answer;
}

checkgroupmgr();

suggestions?

Thanks,
— Adam

]]>
By: Mark Stanger https://servicenowguru.com/system-definition/group-managers-manage-group-members/#comment-7354 Fri, 28 Aug 2015 12:47:23 +0000 https://servicenowguru.wpengine.com/?p=1882#comment-7354 In reply to Annette.

Should work on any ServiceNow version without issue.

]]>
By: Annette https://servicenowguru.com/system-definition/group-managers-manage-group-members/#comment-7353 Fri, 28 Aug 2015 11:42:18 +0000 https://servicenowguru.wpengine.com/?p=1882#comment-7353 Hi,

Could you please write on this wich version it applies to, I think it works a bit different on Eureka.

Thanks,
Annette

]]>
By: Miguel Schöngarth https://servicenowguru.com/system-definition/group-managers-manage-group-members/#comment-7352 Tue, 21 Jul 2015 13:16:00 +0000 https://servicenowguru.wpengine.com/?p=1882#comment-7352 In reply to Shawn Dowler.

Thank you Shawn,

I have discovered the same. Horrible when roles are assigned to groups :-).

]]>
By: ravali https://servicenowguru.com/system-definition/group-managers-manage-group-members/#comment-7351 Thu, 14 May 2015 16:41:34 +0000 https://servicenowguru.wpengine.com/?p=1882#comment-7351 In reply to Mark Stanger.

Hi,

I tried using this in my ACL script, but it is returning FALSE always even though user belongs to the group. I am trying to impersonate the user and I see this value always returning FALSE.

Thank,

]]>
By: Mark Stanger https://servicenowguru.com/system-definition/group-managers-manage-group-members/#comment-7350 Thu, 14 May 2015 15:48:51 +0000 https://servicenowguru.wpengine.com/?p=1882#comment-7350 In reply to ravali.

Thank you. The only thing I can think of is that you’ve got some other Delete ACL on the ‘sys_user_grmember’ table that is preventing the delete. You can debug ACLs to help identify which one might be causing the problem.

]]>
By: ravali https://servicenowguru.com/system-definition/group-managers-manage-group-members/#comment-7349 Thu, 14 May 2015 15:29:58 +0000 https://servicenowguru.wpengine.com/?p=1882#comment-7349 In reply to John Lampson.

Hi Mark,

Thanks for a beautiful solution. I tried this and created 3 ACL create, write and delete. As you suggested the script for write and delete is the same. I am trying to make the users of the groups to be able to add/delete members.

When I do edit, I am able to add but when trying to remove from the slushbucket, nothing is happening.

Can you suggest why?

Thanks,

]]>
By: Shawn Dowler https://servicenowguru.com/system-definition/group-managers-manage-group-members/#comment-7348 Thu, 26 Jun 2014 05:44:00 +0000 https://servicenowguru.wpengine.com/?p=1882#comment-7348 In reply to Shawn Dowler.

I asked before taking the time to look into it. I personalized the list control on the User record for related Groups and added the role user_admin to both New roles and Edit roles. That appears to do what I want. Otherwise the manager (and presumable other itil users) could do strange things like create a new group (with all empty fields) and associate it to the user. Or even worse, they could add and remove the user to and from any other group.

Thanks for this excellent solution. Now I won’t have to be the full-time Assignment Group editor.

]]>