Uploaded image for project: 'Repository'
  1. Repository
  2. REPO-2093

Allow site managers to accept and reject site invitations

    Details

    • Work Funnel:
      Feature
    • Sprint:
      Repo RestAPI Sprint 25, Repo Libraries Sprint 26
    • Story Points:
      20
    • Work Funnel End:
      2018-03
    • Template:

      Description

      Story
      As a developer using the REST API I want an endpoint to allow site managers to accept and reject site invitations so my client can provide that capability without having to implement workflow features.

      Acceptance Critiera

      1. Given that a user is authenticated, when a request is sent to get "requests to join a site", then a list of site requests the user can action is returned (the user will be a site manager of those sites)
      2. Response includes the following information:
        • User information: username, first name, last name, email address
        • Request to join information: Date and time of request, SiteID, Site name, Site visibility,
      3. The list of "requests to join" can be, optionally, filtered by a SiteID so that a developer can choose to only see requests to join per site.
      4. The list of "requests to join" can be, optionally, filtered by a username so that a developer can choose to only see requests to join per user.
      5. Given that an authenticated user has actionable requests, then the request to join can be accepted or rejected
      6. Accepting a request to join, optionally, allows assignment of a role to the user
      7. Rejecting a request to join, optionally, allows the inclusion of comment/reason

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  gcornwell Gavin Cornwell
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Structure Helper Panel