Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After an API is Published, certain properties can be edited only by the admin users #12740

Open
wasuradananjith opened this issue Mar 22, 2022 · 0 comments

Comments

@wasuradananjith
Copy link
Contributor

Describe your problem(s)

After an API is published, only the admin users can edit the endpoints, resources, runtime configurations etc. Not the users with the Internal/creator role nor the users with the Internal/publisher role.
If the creator wants to create a revision, the publisher needs to demote the API to the Created state, so that the creators can do the change and deploy a revision.

Furthermore, when considering the API Products, after publishing those, the publishers can still edit.

Describe your solution

There are two(2) possible fixes

  1. Allows publishers to edit APIs that are in the Published state (this will bring consistency)
  2. Remove all this unnecessary logic that makes the code complex and allow anyone with the necessary rights to edit the API without checking for its state
    The most ideal solution would be the 2nd one.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants