Hi, I’m currently evaluating Gogs version 0.11.29.0727 for our enterprise and so far I think it’s really great!
But I just can’t figure out how to assign a repository to a team.
I’ve created a repository and pushed to it. Then I created an organization and a team but I don’t find an option to assign the repository to that team. Neither when creating a new repository I find no option to assign it to a team.
Ok, I found the option to add repositories to a team but it is only available for Admins that’s why I didn’t see it with the regular user I was testing with.
- Question: why should a regular team member not be able to assign his own repository to a team that he’s part of?
Error: even though I found the option as an Admin it still doesn’t work. The repository could not be found even though I picked the one suggested by auto-completion. I also tried it with the owner of the repository after making him Admin. Same error (see screenshot).
Ok, I found out that I have to create the repository on organization level in the first place and then I can assign it to the team subsequently.
I have to be global Admin though in order to create an organizational repository. This seems a bit awkward but Gogs is still in development and hey, it’s free!