Open Skiepp opened 1 year ago
Thanks @Skiepp for filing the issue. We are looking at this.
We are currently working on it, but we have encountered a problem- we cannot map the names of the users directly to the names of the repositories, as the repositories' names have restrictions in what characters they can contain, which do not apply to the users.
Is your feature request related to a problem? Please describe.
If I want to give a user a private space based on the username, like a private space for "bob" and "bananaJoe" I have to list all the users in the zot config file (which isn't a scalable solution):
Describe the solution you'd like
Implement a simple placeholder mechanism for the repository name (following the very important pr 1123 for issue #983). An example configuration would be:
In the example above we have the users:
bob
in groupfoo
bananaJoe
in groupsfoo, bar
The ACL would be:
bob/*
can be accessed bybob
bananaJoe/*
can be accessed bybananaJoe
foo/*
can be accessed bybob and bananaJoe
(and other users in foo group)bar/*
can be accessed bybananaJoe
(and other users in bar group)public/*
can be accessed by anyoneDescribe alternatives you've considered
An alternative configuration would be to create two specific placeholder for user and group, for example:
Additional context
No response