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

make more privilege web services

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • 1.4.1
    • WS
    • None

    Description

      ie. get groups, addMember, deleteMember, etc.

      Emails...
      ###############################

      Chris,
      Thanks for checking this out, sorry it doesn't work, though. A few questions:
      When do you think 1.5 will be available?
      What is the default group privilege assigned to a member when it is added? I'm thinking I can use GcAssignGrouperPrivilegesLite for members that I need to be different from the default. Will that work?

      Paul Gazda

      ________________________________________
      From: Chris Hyzer
      Sent: Tuesday, March 03, 2009 1:24 PM
      To: Chris Hyzer; Paul Gazda; grouper-users@internet2.edu
      Subject: RE: AssignGrouperPrivileges in GrouperClient

      Im sorry, I tried this and it is not currently possible. I added a bug, not sure when it will be ready... I would think not until at least 1.5

      https://bugs.internet2.edu/jira/browse/GRP-242

      Thanks,
      Chris

      From: Chris Hyzer
      Sent: Tuesday, March 03, 2009 9:15 AM
      To: 'Paul Gazda'; grouper-users@internet2.edu
      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

      From: Paul Gazda
      Sent: Tuesday, March 03, 2009 9:02 AM
      To: Chris Hyzer; grouper-users@internet2.edu
      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

      ________________________________________
      From: Chris Hyzer
      Sent: Monday, March 02, 2009 9:59 PM
      To: Paul Gazda; grouper-users@internet2.edu
      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

      From: Paul Gazda
      Sent: Monday, March 02, 2009 7:27 PM
      To: Chris Hyzer; grouper-users@internet2.edu
      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:
            0 Start watching this issue

            Dates

              Created:
              Updated: