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

Delete Image Button only available for owners of a user group #1273

Closed
tsiepe opened this issue Apr 5, 2017 · 5 comments
Closed

Delete Image Button only available for owners of a user group #1273

tsiepe opened this issue Apr 5, 2017 · 5 comments

Comments

@tsiepe
Copy link

tsiepe commented Apr 5, 2017

It is currently possible to configure Portus such that a recycling bin button appears to the right of each tag of an Image.
However, this button can only be configured for the "Owner" of a team. It cannot be made visible for other team members e.g. for those acting in the role "Contributor".
It would be nice to be able to either configure that on a per-user Basis or at least on a per-role basis.

@mssola
Copy link
Collaborator

mssola commented Apr 10, 2017

I'm not sure this makes sense. Removing an image or a tag is effectively administrating a repository. So, only an admin of the team should be able to do it.

@tsiepe
Copy link
Author

tsiepe commented Apr 10, 2017 via email

@mssola
Copy link
Collaborator

mssola commented Apr 11, 2017

Makes sense. Adding as a possible enhancement 😉

@mssola mssola added this to the Release 2.3 milestone Aug 2, 2017
@mssola
Copy link
Collaborator

mssola commented Oct 20, 2017

We are in code freeze. Delaying to 2.4...

@mssola mssola modified the milestones: Release 2.3, Release 2.4 Oct 20, 2017
@vitoravelino vitoravelino self-assigned this Jan 18, 2018
@vitoravelino
Copy link
Contributor

As discussed in private, the solution from the user perspective would be a new configuration option under delete, e.g.:

delete:
  enabled: true     # already exixts
  contributor: true # new option

Documenting this to help whenever we implement this feature.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants