How to configure a user group for a package access ? #2173
-
Hi,In the document ,I didn't found how to create a user group control access.Now my configuration is like this packages:
'@hypers/*':
access: user-a user-b user-c
publish: user-a user-b user-c I want to config it like this $user-group: user-a user-b user-c
packages:
'@hypers/*':
access: $user-group
publish: $user-group What should I do? |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments
-
It's not possible in that way, currently, |
Beta Was this translation helpful? Give feedback.
-
@juanpicado Thank you answer very much.So, will you add this feature in the future? |
Beta Was this translation helpful? Give feedback.
-
We are open to improvements 👍 of course.
I got your point here, but I think a real implementation (eg: config) might look a bit different due to the current design. I'll be happy to support to anyone that PR something like that. |
Beta Was this translation helpful? Give feedback.
-
As more and more options we want to configure, whether to consider supporting Define variables in |
Beta Was this translation helpful? Give feedback.
-
@chengjianhua Yes why not 🤓 , even I thought to be able to read JSON format as the second option. As you can see here https://github.com/verdaccio/verdaccio/blob/master/src/lib/cli.js#L51 in the early stage we convert o JS object anyway. How to achieve format detection, that would be an open question. But, |
Beta Was this translation helpful? Give feedback.
-
@juanpicado Keep |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
FYI guys https://github.com/btshj-snail/snail-verdaccio-group Please support him, that's a good one. |
Beta Was this translation helpful? Give feedback.
FYI guys https://github.com/btshj-snail/snail-verdaccio-group
Please support him, that's a good one.