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

policies: added more fine-grained push policies #1729

Merged
merged 1 commit into from
Mar 16, 2018

Conversation

mssola
Copy link
Collaborator

@mssola mssola commented Mar 15, 2018

Before this commit, an administrator was able to disable push control
entirely for regular users. This commit adds a more fine-grained
solution:

  1. allow-teams: as usual.
  2. allow-personal: team access is restricted: regular users can only
    push into their personal namespaces.
  3. admin-only: only admins can push.

This should hopefully tackle more work flows inside of Portus.

Fixes #1528
See #1137

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

@mssola mssola requested a review from vitoravelino March 15, 2018 11:05
@mssola
Copy link
Collaborator Author

mssola commented Mar 15, 2018

Travis might fail because #1681 has to be merged first (includes a fix on the CI)

@mssola mssola force-pushed the push-policy branch 2 times, most recently from 4b6086a to d155f81 Compare March 15, 2018 13:45
Before this commit, an administrator was able to disable push control
entirely for regular users. This commit adds a more fine-grained
solution:

1. allow-teams: as usual.
2. allow-personal: team access is restricted: regular users can only
   push into their personal namespaces.
3. admin-only: only admins can push.

This should hopefully tackle more work flows inside of Portus.

Fixes SUSE#1528
See SUSE#1137

Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
@vitoravelino vitoravelino merged commit 0612295 into SUSE:master Mar 16, 2018
@mssola mssola deleted the push-policy branch March 16, 2018 10:12
mssola added a commit that referenced this pull request Mar 20, 2018
See #1729
See #1681

Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
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