grouper-users - [grouper-users] RE: email notification when a user is added or removed from any groups within a folder or subfolder. Grouper version 2.2
Subject: Grouper Users - Open Discussion List
List archive
[grouper-users] RE: email notification when a user is added or removed from any groups within a folder or subfolder. Grouper version 2.2
Chronological Thread
- From: Siju Jacob <>
- To: "Hyzer, Chris" <>, " Mailing List" <>
- Cc: Omer Almatary <>, Nazeer Syed <>
- Subject: [grouper-users] RE: email notification when a user is added or removed from any groups within a folder or subfolder. Grouper version 2.2
- Date: Thu, 5 Apr 2018 19:10:01 +0000
- Accept-language: en-US
- Authentication-results: spf=none (sender IP is ) ;
- Ironport-phdr: 9a23:1X7OWhBVxtG96/nYYD5pUyQJP3N1i/DPJgcQr6AfoPdwSPX5o8bcNUDSrc9gkEXOFd2Cra4c0KyO6+jJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fcbglUijexe69+IAmrpgjNq8cahpdvJLwswRXTuHtIfOpWxWJsJV2Nmhv3+9m98p1+/SlOovwt78FPX7n0cKQ+VrxYES8pM3sp683xtBnMVhWA630BWWgLiBVIAgzF7BbnXpfttybxq+Rw1DWGMcDwULs5Qiqp4bt1RxD0iScHLz85/3/Risxsl6JQvRatqwViz4LIfI2ZMfxzdb7fc9wHX2pMRsZfWTJcDIOgYYUBDOQBMuRZr4bhqFQDtgG+CRWwCO711jNEmn370Ksn2OohCwHG2wkgEsoTvnTVrtX1KboZX+Svw6bUyjXMdO5d1DDm6IjKcB0tve+AUKl3ccrQ1UkjDRnFjkiMqYzqITyVzP8Nv3KF4OV9SOKikmgqoBxyrDi33sogl5XFi40Pxl3L9yh12og4KNKiREJmfdKpEYNcuzyEO4Z1WM8vQntktSg4x7EcpJK3YigHxZI6zBDFcfOHaZKH4hf7WeaRPzh4gHVldaqniRuu9kas1vDwWtCp3VlIsCZJi97MuWsT2BDJ7ciHV+d98Vym2TaS0QDc9/tIIVgularcN54u3KI/loYSsUTEGC/6gkL2jLKKdkUg/eio7Ofnbq/6qZ+bMo94kgD+MqIwlcyjGek0LxQCUmeB9emz1rDv50P0TbpQgvErjqXUsYjWJcEBqa64Bw9V3Jwj6xG6Dzq+y9QYn3sKIE5bdB+ciIjpOk3OLOriDfein1Ssnylkx+rdPrH7HJrCM2XDnK/7fblh805c1BYzzddH6pJbELEBJ+/zWlfvu9zCFxM5Lhe0zPj9CNVmzY4eXWOPArSFMKPJr1OE/OMvI++QZIALojb9LeYq5+LwgXMjh1ASYLSpjtMrbyXyPuV0Ll/dKVHsmNYaWy9euwE+Xf7nknWDSjUVem6/WaR66z0mXsbuR4jZQZ21jabEwTy2BIZ+Z2ZaB0qKHGuyMYiIRr8pYSOWI8lu2hgFTqTrA9suzxazrALgjqd8I/DP0iweqZ/50tVpvavemQxkphJuCMHI6GCPUilWl2gPTXdix6Ig+RZVzVafl7Jln/NVD8cV6v9UBFRpfaXAxvB3XoihEjnKec2EHRP/Go2r
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
Thanks Yoann and Chris for the quick response.
Below parameters are set in our grouper.properties and I was able to send a test mail using gsh : #mail.smtp.server = whatever.school.edu I am getting emails when I add remove user using GSH but when I add or remove from UI we don’t get emails. Below is the GSH script I use to add remove a user. grouperSession = GrouperSession.startRootSession(); groupWwwContentEditors = GroupFinder.findByName(grouperSession, "loaders:org_loader", true); group9147org = GroupFinder.findByName(grouperSession, "orgs:10014:10056:ref:ru-FASN - Dean's Office_Faculty_systemOfRecord", true); stemOrg = StemFinder.findByName(grouperSession, "orgs:10014", true); subjectMchyzer = SubjectFinder.findByIdentifierAndSource("gabri", "jdbc", true); subjectBwh = SubjectFinder.findByIdentifierAndSource("msidney", "jdbc", true); subjectRoot = SubjectFinder.findRootSubject(); attributeAssign = stemOrg.getAttributeDelegate().addAttribute(RuleUtils.ruleAttributeDefName()).getAttributeAssign(); groupWwwContentEditors.addMember(subjectMchyzer); groupWwwContentEditors.addMember(subjectBwh); group9147org.deleteMember(subjectMchyzer); group9147org.deleteMember(subjectBwh); group9147org.addMember(subjectMchyzer); group9147org.addMember(subjectBwh); #NOTE only remove if wasnt already a member groupWwwContentEditors.deleteMember(subjectMchyzer); groupWwwContentEditors.deleteMember(subjectBwh); Below is my current rule setup. From: Hyzer, Chris <>
Thanks for responding Yoann. Try his GSH command and config. Also: Heres an example from penn. Do you need “ruleIfConditionEnum”?
Thanks, Siju From:
[]
On Behalf Of Siju Jacob Hi, I am trying to create a rule to send email notifications to admins when a user is added or removed from any group within a folder hierarchy. It’s not sending the emails. Below is my configuration. Grouper version is 2.2 Any advice or guidance regarding what is missed in this configuration would be greatly appreciated..! Thanks, Siju From: Siju Jacob
Hi, I created a admin group as below and added few users to it. orgs:10014:ru-Newark Chancellor's Office_Admin But these users are not able to see the groups within the subfolders inside this folder (orgs:10014). Below is the subfolder which has 8 groups, which is not visible to the admin users who belong to
ru-Newark Chancellor's Office_Admin. orgs:10014:10056:ref. I am sure, something is missed on my part while configuring this admin group.
Any advice or guidance would be greatly appreciated..! Thanks, Siju |
- [grouper-users] email notification when a user is added or removed from any groups within a folder or subfolder. Grouper version 2.2, Siju Jacob, 04/04/2018
- Re: [grouper-users] email notification when a user is added or removed from any groups within a folder or subfolder. Grouper version 2.2, Yoann Delattre, 04/05/2018
- [grouper-users] RE: email notification when a user is added or removed from any groups within a folder or subfolder. Grouper version 2.2, Hyzer, Chris, 04/05/2018
- [grouper-users] RE: email notification when a user is added or removed from any groups within a folder or subfolder. Grouper version 2.2, Siju Jacob, 04/05/2018
Archive powered by MHonArc 2.6.19.