openvsx
openvsx copied to clipboard
Contributor cannot visualize the namespace in UI
I'm a contributor of timonwong namespace. However, it does not show up in the namespaces list:

But when @timonwong changes my role to Owner, then it shows up.
I already verified that I have the proper role, because I tried to publish an extension on his namespace.
By the way, this is one example where ovsx verify-pat (https://github.com/eclipse/openvsx/issues/313) would come in handy.
I think it works as intended: only owners can see and modify the list of members. A contributor can publish, but not more.
Then how do contributors know they are contributors? I would suggest to show the same UI, but in read-only mode and with a few tweaks. The list of other contributors may be hidden, but there is no pointing on hiding the list of extensions, I guess.
@felipecrs PR #437 adds the ability for contributors to view extensions that are part of the namespace. As a contributor you can't view (or edit) the members of a namespace. It's a first draft. Your feedback is much appreciated.
@amvanbaren I think your implementation makes sense! :)
@felipecrs PR #437 is running in production.