Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-242

add multiple privilege management web service

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Major
    • 1.6.0
    • 1.4.1
    • None
    • None

    Description

      Sent: Tuesday, March 03, 2009 9:15 AM
      Subject: RE: AssignGrouperPrivileges in GrouperClient

      I think you should be able to do this with GcAddMember... just set the field name to the right privilege name (e.g. readers, viewers, etc). Did you update from grouper 1.4 branch recently? If you have, it should work, if it doesn't work, try to get the latest from 1.4. I remember adding something in this area a few weeks ago:

      cvs -d:pserver:anoncvs@anoncvs.internet2.edu:/home/cvs/i2mi login
      cvs -d:pserver:anoncvs@anoncvs.internet2.edu:/home/cvs/i2mi export -r GROUPER_1_4_BRANCH grouper
      cvs -d:pserver:anoncvs@anoncvs.internet2.edu:/home/cvs/i2mi export -r GROUPER_1_4_BRANCH grouper-ws

      Let me know how it goes,
      Chris

      Sent: Tuesday, March 03, 2009 9:02 AM
      Subject: RE: AssignGrouperPrivileges in GrouperClient

      What I am looking for is a way to assign group privileges to members when a group is added or updated. I have one set of people and/or groups called "owners" who would be added with ADMIN privilege, and another set of members who would have VIEW privileges. It looks like I can add all of the members in one operation using GcAddMember. Ideally, I would like to set each member's group privilege at the time they are added. The only way I see of doing it is by executing GcAssignGrouperPrivilegesLite once for each member, which seems very expensive. Am I not seeing an easier way of doing this?
      Thanks.

      Paul Gazda

      ________________________________________
      Sent: Monday, March 02, 2009 9:59 PM
      Subject: RE: AssignGrouperPrivileges in GrouperClient

      We could probably add a web service that allows multiple assignments. Not sure how it would work... the same privilege of the same resource assigned to multiple subjects? I would also add that to the client API. Is that what you need?

      Thanks,
      Chris

      Sent: Monday, March 02, 2009 7:27 PM
      Subject: AssignGrouperPrivileges in GrouperClient

      Chris,
      I see that you currently have only GcAssignGrouperPrivilegesLite in GrouperClient 1.4.1. Are you planning to add a GcAssignGrouperPrivileges that will allow assignment of privileges to more than one subject in a single invocation?

      Paul Gazda

      Attachments

        Activity

          People

            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: