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

Fixes #13935 - Adjust permissions to promote a version #6536

Closed
wants to merge 1 commit into from

Conversation

xprazak2
Copy link
Member

:promote_or_remove_content_views permission (on ContentView resource)
is not enough for non-admin users to promote a content view,
they need :promote_or_remove_content_views_to_environments
(on KTEnvironment resource) as well. I think the former can work on
its own and the latter can be removed.

:promote_or_remove_content_views permission (on ContentView resource)
is not enough for non-admin users to promote a content view,
they need :promote_or_remove_content_views_to_environments
(on KTEnvironment resource) as well. I think the former can work on
its own and the latter can be removed.
@mention-bot
Copy link

@xprazak2, thanks for your PR! By analyzing the history of the files in this pull request, we identified @jlsherrill, @ehelms and @waldenraines to be potential reviewers.

@jlsherrill
Copy link
Member

[test]

@jlsherrill
Copy link
Member

@xprazak2 I'm not sure i agree that the one permission should be sufficient. The idea being that some junior admin may be able to publish and promote some views to QE, but not to production. Only a senior admin should be able to promote to production. This would require these two permissions.

Thoughts?

@xprazak2
Copy link
Member Author

It seemed to me like you needed both permissions to promote to any environment. I was not able to promote anything running as non-admin with only :promote_or_remove_content_views. Maybe I missed how we add permissions to individual environments. I will take another look at it.

@jlsherrill
Copy link
Member

@xprazak2 correct, the way it is designed is that both permissions are required.

Otherwise there would be no way to restrict both which content views a user could promote, and which lifecycle environments that user could promote to, right?

@xprazak2
Copy link
Member Author

Right, that makes sense. If it is by design then I think we can close this and I will raise an issue with the docs so there are no confusions in the future.

@jlsherrill
Copy link
Member

closing thanks @xprazak2 !

@jlsherrill jlsherrill closed this Jan 24, 2017
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.

4 participants