Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-1016

Make membership management depend on the principal name not the URI of the principal, since the principal name is already unique.

    XMLWordPrintableJSON

Details

    Description

      As per thread on sling-dev

      -----------------------
      You are probably right, the principal name is sufficient to find the
      authorizable. Can you make the patch?

      Thanks!

      On Fri, Jun 19, 2009 at 7:43 AM, Ian Boston <ieb@tfd.co.uk> wrote:

      I was wondering,

      curl -F:member=/system/userManager/user/ieb http://admin:admin@localhost
      :8080/system/userManager/group/g-group1.update.json

      appears to be the way to add members to groups
      or

      curl -F:member=../../ieb http://admin:admin@localhost
      :8080/system/userManager/group/g-group1.update.json

      I can see where this is in the code, but it looks a bit odd and slightly
      hard for a UI developer to work with when

      curl -F:member=ieb http://admin:admin@localhost
      :8080/system/userManager/group/g-group1.update.json

      would have worked. Was there a reason I am missing this is like it is ?
      I would like to change it, happy to do a patch.
      Ian

      ----------------------------------

      Attachments

        1. SLING-1016.patch
          5 kB
          Ian Boston

        Activity

          People

            Unassigned Unassigned
            ianeboston Ian Boston
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: