grouper-users - FW: [grouper-users] roll ups using the loader?
Subject: Grouper Users - Open Discussion List
List archive
- From: "Bryan E. Wooten" <>
- To: "" <>
- Subject: FW: [grouper-users] roll ups using the loader?
- Date: Fri, 21 Mar 2014 17:14:53 +0000
- Accept-language: en-US
Sorry, I meant to send this to the list…. -Bryan From: Bryan E. Wooten
I will confess that I have read that wiki a bunch of times and it just is not sinking in. I just wrote 3 views (students / instructors / both) and used 3 loader jobs. But having said that I am very intrigued by this line: grouperLoaderGroupQuery: select group_name, readers, updaters from course_group_query_v Is the course_group_query_v running against the Grouper DB or Oracle/Datawharehouse/other? And lastly my grouperLoaderQueries all look like this: select group_name, subject_id, ‘ldap’ from myView. Where ldap is my subject source. Where can I find documentation on all the allowed column names for the select (ie group_name, subject_id, readers, updaters, etc). I assume your select with readers / updaters doesn’t actually create the group but adds privileges to subjects for an existing group. Does that make sense? Thanks, Bryan
From:
[]
On Behalf Of Chris Hyzer Yes, that is what the classlist at penn and the joins to the grouper_groups table does... obviously I need to revist that doc, its hard to understand. I wrote this up earlier this year with a long discussion on the list: https://spaces.internet2.edu/display/Grouper/Grouper+loader+example+include+exclude+and+privileges Now you need to flex your SQL muscles and make a query that will create all the other groups for you (use UNION?).
Or this could be multiple loader jobs. This is in a separate loader job that runs after (?) the first one. You can join to the grouper groups table so that it only does groups that exist and wont have unresolvable subject errors. Note if you join to the
grouper_groups table, the you will get better performance too. However you might want to run this 3 times in a row (or however many times it needs) so that all can be managed in one day.
Now we can have privileges on these groups... again, you can do this with views, and unions, etc Note, if you
can join to the grouper_groups table and use the group UUIDs, it would be faster.
sdf -----Original Message----- Hi, Outside of the addIncludeExclude functionality is it possible for a loader job to manage arbitrary "roll ups" of groups like 'students', 'instructors', and 'guests' into an 'all' group? Thanks, Scott K |
- [grouper-users] roll ups using the loader?, Scott Koranda, 03/21/2014
- RE: [grouper-users] roll ups using the loader?, Chris Hyzer, 03/21/2014
- Re: [grouper-users] roll ups using the loader?, Scott Koranda, 03/21/2014
- RE: [grouper-users] roll ups using the loader?, Chris Hyzer, 03/21/2014
- Re: [grouper-users] roll ups using the loader?, Scott Koranda, 03/21/2014
- RE: [grouper-users] roll ups using the loader?, Chris Hyzer, 03/21/2014
- FW: [grouper-users] roll ups using the loader?, Bryan E. Wooten, 03/21/2014
- RE: [grouper-users] roll ups using the loader?, Chris Hyzer, 03/21/2014
- RE: [grouper-users] roll ups using the loader?, Bryan E. Wooten, 03/21/2014
- RE: [grouper-users] roll ups using the loader?, Chris Hyzer, 03/21/2014
- Re: [grouper-users] roll ups using the loader?, Scott Koranda, 03/21/2014
- RE: [grouper-users] roll ups using the loader?, Chris Hyzer, 03/21/2014
Archive powered by MHonArc 2.6.16.