Closed Telokis closed 5 years ago
you need to own the group to publish, see https://github.com/bufferoverflow/verdaccio-gitlab#publish
Thanks. Is there any way I could find a way around this? Even if it implies forking verdaccio-gitlab.
get owner of that group and you are done.
There might be a way and if you've found a good one, please create a PR
From what I understand, I could remove the function allow_publish
from verdaccio-gitlab
and the default behavior of verdaccio
would be used.
The default behavior is to be based on the groups of the user meaning that I could be allowed because I'm in the telokis-group
group
@bufferoverflow Would you mind reopening this issue, please? I'll provide a PR to allow it with a custom config variable.
I'm trying to allow a custom package prefix based on the same group.
Let's say that
telokis-group
really exists on Gitlab (and I have full access to it). I would like to allow a totally unrelated (possibly already existing) scope based on the same permission. Trying the following config gives me403
error when I try to publish a package to@totally-different-group
.The error I get is
It works fine when I change
totally-different-group
totelokis-group
.