-
-
Notifications
You must be signed in to change notification settings - Fork 384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Organizations tab for admins #2307
Comments
There are some open questions to me. First of all what's the purpose of this list. Should it provide extra admin settings like the users list like restricting orgs in the future or is it an overview redirecting to the org settings or repo list page? One thing to always keep in mind is also that there are often two different hosting kinds:
Especially the second type would currently not really benefit from having a look at the secrets from others and the first admin could already open the orgs page to get to the secrets. |
Maybe a redesign of the home page (currently list of repos the user is a member if) which shows the own repos and also the own orgs would help. |
While the purpose was another in the beginning, I think this is about being able to list all orgs as admin - just like you can do with users. I think that's a totally valid suggestion without any discussion necessary |
I am currently against adding it until the purpose is clearly defined. It's still not clear from the description and discussion how the user will interact with the list. I can image it will look somehow like the users list:
But that's just an idea and might not solve the issue OP had. |
Yes, that's an idea. But why is the purpose unclear? What's the purpose of the user admin list? It's kind of the same. |
The users list has some action, delete user, make an user an admin which can only be done by an admin. The orgs page wont offer such a feature and is only listing orgs and redirecting to existing pages. I think the issue of OP is to find his own orgs and their settings and not the orgs of the whole instance. In case of large instances (imagine codeberg, a company) why would an admin want to access an org of someone else and change someones secrets. |
It's not necessary to provide actions there, links are fine, but the main purpose is viewing all orgs and getting an overview over them. This could be useful for e.g. companies that use multiple orgs. Also, this can be extended with actions like delete too. |
My problem was different (I didn't know there is an orgs page with orgs secrets, but qwerty showed me how). But you asked for my 2c... I agree with qwerty "being able to list all orgs as admin - just like you can do with users" is nice. The same in gitea, the server admin page has tabs for "User Accounts", "Organizations", "Repositories", "Packages", i.e. an admin can see everything inside his server. It doesn't need to expose functionality though - it could be readonly. Also "useful for e.g. companies that use multiple orgs" - my instance is for a small company and even we already have 4 orgs - two for products, one for FOSS, one for "other". Also I like abraten's design, it is simple and fits in with the existing UI. |
![Screenshot 2023-08-28 at 10-08-20 Woodpecker](https://github.com/woodpecker-ci/woodpecker/assets/80460567/e3248b05-7899-43ca-a0cf-4834eae078d8) Closes #2307
Discussed in #2257
Originally posted by lonix1 July 10, 2023
Clear and concise description of the problem
The server config page shows tabs: "Secrets", "Users", "Agents" and "Queue".
There should be another tab, "Organizations".
There are various org-level settings, e.g. organization secrets (exposed by the API), but they aren't viewable in the UI. So they are effectively "hidden" and it's easy to forget about it.
Suggested solution
A new tab named "Organizations".
Doesn't need to be complicated, or to allow interaction. Only to show the orgs, and secrets related to them. Readonly to keep it simple.
Alternative
No response
Additional context
No response
Validations
next
version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]The text was updated successfully, but these errors were encountered: