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

API Group.replaceMembers() doesn't work with privileges

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 2.6.5
    • 2.4.0
    • API
    • None

    Description

      Method Group.replaceMembers(Collection<Subject> newSubjectList, Field field) – you can pass in a Field, but the only field that works is members. If you pass in a readers or updaters field, it throws a SchemaException error, because internal_addMember() is specifically rejecting non-list types.

       

      There is a web service that can replace privileges (WsRestAssignGrouperPrivilegesRequest), but no API equivalent. It would be nice to have an API method to sync privileges using the existing algorithms, rather than having to rewrite it in caller code.

       

      Attachments

        Activity

          People

            chad.redman@at.internet2.edu Chad Redman (unc.edu)
            chad.redman@at.internet2.edu Chad Redman (unc.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: