Skip to content

Add permissions for editing API documents #25

@sandeep2rawat

Description

@sandeep2rawat

Issue Description

We currently have an internal OpenAPI documentator where developers can create, edit, and publish API documents.
Often, there are situations where multiple developers collaborate on the same set of APIs, and the owner of the document needs to frequently change the document's ownership back and forth to allow editing.
So, we need to enhance the system to allow the owner of an API document to grant editing permissions to other users.

Feature Requirements

  1. Ability for the owner of an API document to manage permissions.
  2. Grant the selected users the ability to edit the API document.
  3. Ensure that only the owner and users with granted permissions can edit the document.
  4. Display the owner and users with editing permissions on the API document page.
  5. Provide a user-friendly interface for managing permissions.

Expected Behavior

  • The owner of an API document should be able to add or remove editing permissions for other users.
  • Users with editing permissions should be able to make changes to the API document.

Additional Information

  • Currently, only the document owner has editing rights.

Acceptance Criteria

  • The owner should be able to add and remove editing permissions for other users.
  • Only the owner and users with granted permissions should be able to edit the document.

Labels

enhancement, permissions, user management

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions