Branch permissions REST API inefficient and overcomplicated

XMLWordPrintable

    • Type: Bug
    • Resolution: Tracked Elsewhere
    • Priority: Low
    • None
    • Affects Version/s: 3.4.1
    • Component/s: None
    • None

      To add or remove a user or group from a branch permission setting, you must first GET from the /restricted and /permitted endpoints, manipulate the user or group arrays, and then PUT the updated definition to /restricted endpoint. Three API calls for one simple action.

      Compare this with Crowd's endpoints for group membership, where you can add or remove users or groups with a single API call.

      I've mitigated the complexity by writing library code that encapsulates the add user, add group, remove user, and remove group actions into separate methods, but that can't fix the inefficiency.

              Assignee:
              Unassigned
              Reporter:
              Deleted Account (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: