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

[v4] Allow MODERATORS to close asset on stream. #2921

Merged
merged 3 commits into from Apr 13, 2020

Conversation

leeeandroo
Copy link

MODERATORS can close asset on Admin side, but on Stream when they
click to close, got an unauthorized error. Change it to make
consistency about what actions can be done.

What does this PR do?

Change the needed permissions on /:asset_id/status endpoint to allow MODERATORS perform actions there.

What changes to the GraphQL/Database Schema does this PR introduce?

None

How do I test this PR?

  • Login using a MODERATOR user
  • Go to Admin -> Stories
  • Try to close/open an Asset and got a success response

MODERATORS can close asset on Admin side, but on Stream when they
click to close, got an unathorized error. Change it to make
consistency about what actions can be done.
@wyattjoh wyattjoh added this to the v4.11.5 milestone Apr 13, 2020
@wyattjoh wyattjoh merged commit 8d18391 into coralproject:release/4 Apr 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants