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

getMemberships has problems getting stem privileges for a user

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 2.1.6
    • 2.1.5
    • WS
    • None

    Description

      From:Tim Darby
      Sent: Wednesday, September 04, 2013 2:58 PM
      To: Chris Hyzer
      Cc: grouper-users
      Subject: Re: [grouper-users] REST interface performance

      Yeah, I need an example because no matter what subject I query on, it returns:

      <WsGetMembershipsResults>
      <resultMetadata>
      <resultCode>SUCCESS</resultCode>
      <resultMessage>Found 0 results involving 0 groups and 0 subjects</resultMessage>
      <success>T</success>
      </resultMetadata>
      <responseMetadata>
      <resultWarnings/>
      <millis>21</millis>
      <serverVersion>2.1.5</serverVersion>
      </responseMetadata>
      </WsGetMembershipsResults>

      And this is the query I'm using:

      https://grouper.arizona.edu/grouper-ws/servicesRest/xml/v2_1_005/subjects/123456789/memberships?wsLiteObjectType=WsRestGetMembershipsLiteRequest&actAsSubjectId=GrouperSystem&fieldName=creators

      Tim Darby
      The University of Arizona
      Mosaic, Systems Integration and Architecture
      UITS, Rm 335,

      On Mon, Sep 2, 2013 at 8:12 PM, Chris Hyzer <mchyzer@isc.upenn.edu> wrote:
      I haven’t tried it, but in theory you should be able to call the getMemberships operation, passing in the subject, and the field is “creators” I believe, and it should return a bunch of memberships. Get the stems in each of those and it is your answer. Does it work, or do you want me to make an example?

      Thanks,
      Chris

      From: On Behalf Of Tim Darby
      Sent: Thursday, August 29, 2013 3:08 PM
      To: Chris Hyzer

      Subject: Re: [grouper-users] REST interface performance

      Hi, I upgraded to 2.1.5, but I'm afraid I can't figure out how to construct a REST query that gives me what I want, namely all stems that a particular subject has create privilege on.

      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: