Closed NudeNULL closed 1 year ago
Hello, I have a small question on packages access setup from the config.yaml file.
I was trying hard to set up such configuration:
I tried 2 scenarios: 1st scenario: packages: "com.pckg1": access: github/org/Org-Name publish: github/user/user1
"com.pckg2": access: github/org/Org-Name publish: github/user/user2
"com.pckg3": access: github/org/Org-Name publish: github/user/user3
"**": access: github/org/Org-Name publish: github/org/Org-Name/team/admins
The result is that admins cannot publish into pckg1, pckg2 and pckg3, only in any other packages, that means that these 3 packages overwrite the admins access
2nd scenario: packages: "**": access: github/org/Org-Name publish: github/org/Org-Name/team/admins
"com.pckg1": access: github/org/Org-Name publish: github/user/user1
The result: Specific users cannot publish to their packages
3rd Scenario: packages: "com.pckg1": access: github/org/Org-Name publish: github/user/user1 github/org/Org-Name/team/admins
"com.pckg2": access: github/org/Org-Name publish: github/user/user2 github/org/Org-Name/team/admins
"com.pckg3": access: github/org/Org-Name publish: github/user/user3 github/org/Org-Name/team/admins
The result: I have to specify Admins group in every package like...it works, but it's dirty
Does this depend on this plugin or it is a Verdaccio thing?
Thanks!
I find the examples hard to read. Could you add some formatting, please?
Hello, I have a small question on packages access setup from the config.yaml file.
I was trying hard to set up such configuration:
I tried 2 scenarios: 1st scenario: packages: "com.pckg1": access: github/org/Org-Name publish: github/user/user1
"com.pckg2": access: github/org/Org-Name publish: github/user/user2
"com.pckg3": access: github/org/Org-Name publish: github/user/user3
"**": access: github/org/Org-Name publish: github/org/Org-Name/team/admins
The result is that admins cannot publish into pckg1, pckg2 and pckg3, only in any other packages, that means that these 3 packages overwrite the admins access
2nd scenario: packages: "**": access: github/org/Org-Name publish: github/org/Org-Name/team/admins
"com.pckg1": access: github/org/Org-Name publish: github/user/user1
"com.pckg2": access: github/org/Org-Name publish: github/user/user2
"com.pckg3": access: github/org/Org-Name publish: github/user/user3
The result: Specific users cannot publish to their packages
3rd Scenario: packages: "com.pckg1": access: github/org/Org-Name publish: github/user/user1 github/org/Org-Name/team/admins
"com.pckg2": access: github/org/Org-Name publish: github/user/user2 github/org/Org-Name/team/admins
"com.pckg3": access: github/org/Org-Name publish: github/user/user3 github/org/Org-Name/team/admins
"**": access: github/org/Org-Name publish: github/org/Org-Name/team/admins
The result: I have to specify Admins group in every package like...it works, but it's dirty
Does this depend on this plugin or it is a Verdaccio thing?
Thanks!