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: "Hyzer, Chris" <>
- To: Siju Jacob <>, " 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:27:25 +0000
- Accept-language: en-US
- Authentication-results: spf=none (sender IP is ) ;
- Ironport-phdr: 9a23:vlVZEhY7E8NZmPLWK151b7f/LSx+4OfEezUN459isYplN5qZpsy4bB7h7PlgxGXEQZ/co6odzbaO6Oa4ASQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTahb75+Ngm6oRnMvcQKnIVuLbo8xAHUqXVSYeRWwm1oJVOXnxni48q74YBu/SdNtf8/7sBMSar1cbg2QrxeFzQmLns65Nb3uhnZTAuA/WUTX2MLmRdVGQfF7RX6XpDssivms+d2xSeXMdHqQb0yRD+v9LlgRgP2hygbNj456GDXhdJ2jKJHuxKquhhzz5fJbI2JKPZye6XQds4YS2VcRMZcTyxPDJ2hYYsTAeQPPuhYoIv8p1QSohSzHhOsCP/zxjJSmnP6wa833uI8Gg/GxgwgGNcOvWzaoNv3NKYTUP66zLPQwT7ecf5W2S396InTchwvvPqBWrdwftbRyUgvFgLKkE+QpJfkPzOOyusBqXWb7/J+WuKpjW4rsR9+rSWyxso1jITCm4Ebykjc+Cln2ok5OcC0RUtmbdK5DZddsi+aOoRqTs8+Rmxlujg1x7ICtJO+eSUG1ogryh/HZ/CafYWE/gjvWeKMLTtimn5pZbayiwyv/UWiy+DwTse030hJoyZZl9TBs3AA2hjJ5ceZT/Zw/Vuu1iiL2g3W9u5LPFo7mbfeJpMuxrM8iJUevELeFSHsgkr2lrWZdkA89+io9evnZrLmq4eEOYJojQ/yLqojltWxD+o/PAUCRm+b9v+i27H5+k35XalKgeYxkqnEtpDVON4XprajAw9SzoYs9QqwDyun0NQfm3kLNlVFeA+bj4jtPFHOJ/P4Ae2jjFSrlTdn3/HGPrv/DZXRNnXPjq3ucapg50NZ1QY/0M1T6pdaCrwOPP7/Rkr8ud7GARI2NwG5xuPqBMth2o4fQW6PB7WWMKLWsV+G/OIvJOyMaZcQuDnhK/gk5//vgmEjmVIGfKmpxocYZGqlHvR+PUqZZ3zsjs0fHmgXowoyVPbqh0GaUT5Pe3ayWLox5j4hCIKhEIfDXp6igKaY0CemBZ1ZeHpGCkuXHHfsdoWEQOsMaDmMLsN7kzwEU6ShRJE71RGoqgD616RrIvDK9SIFqJKwnORystbSlwx61zV/CM7Vh3qPEDkutmQJW3kswbxwrFZmjFqPzP48y7ZXD9tO//5TFxohOITH5+18F93oXA/dJJGEREvuZ9ynBTA3QZoVwsQSKQ4pFM+lkwjOxW+3GLIPjJSKAoA56KTRwyK3KspgnSXozq4k2hMGU9lCLynura5l9hOZT9rMmEWIhauwXaUH12jQ7GqFyyyDsFwOA104arnMQX1KPhielt/+/E6XCub2Ubk=
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
If something works in GSH and not UI, and both are the same versions, and talking to the same database, then you need to make sure your properties files are harmonized
among the envs right? i.e. is the grouper.properties right in the UI WEB-INF/classes? Does it work from gsh when running from WEB-INF/bin? Thanks Chris From: Siju Jacob [mailto:]
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
- [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.