Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

webhooks: added permissions on webhooks #1806

Merged
merged 1 commit into from
May 2, 2018

Conversation

mssola
Copy link
Collaborator

@mssola mssola commented May 2, 2018

Before this commit, permissions on webhooks were coupled with
namespaces, which was not desirable for some users.

Fixes #1109

Signed-off-by: Miquel Sabaté Solà msabate@suse.com

Before this commit, permissions on webhooks were coupled with
namespaces, which was not desirable for some users.

Fixes SUSE#1109

Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
@mssola mssola requested a review from vitoravelino May 2, 2018 13:27

protected

def create_or_manage?(perm)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe just can?? It's a local thing, so I guess it's fine. What do you think?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought about it, but then I realized that it might be confusing, because it's not valid for show, for example. So, I'd rename it only if we add more stuff into it with the same implementation.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It makes sense! 👍

Copy link
Contributor

@vitoravelino vitoravelino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@vitoravelino vitoravelino merged commit 48aafec into SUSE:master May 2, 2018
@mssola mssola deleted the manage-webhook branch May 2, 2018 14:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants