0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-01-20 08:44:50 +01:00
gitea/routers/api/v1/repo
David Svantesson 69a255defb Team permission to create repository in organization (#8312)
* Add team permission setting to allow creating repo in organization.

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>

* Add test case for creating repo when have team creation access.

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>

* build error: should omit comparison to bool constant

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>

* Add comment on exported functions

* Fix fixture consistency, fix existing unit tests

* Fix boolean comparison in xorm query.

* addCollaborator and changeCollaborationAccessMode separate steps

More clear to use different if-cases.

* Create and commit xorm session

* fix

* Add information of create repo permission in team sidebar

* Add migration step

* Clarify that repository creator will be administrator.

* Fix some things after merge

* Fix language text that use html

* migrations file

* Create repository permission -> Create repositories

* fix merge

* fix review comments
2019-11-20 19:27:49 +08:00
..
blob.go
branch.go Update branch API endpoint to show effective branch protection. (#9031) 2019-11-16 19:39:18 +00:00
collaborators.go
commits.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
file.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
fork.go
git_hook.go
git_ref.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
hook_test.go
hook.go
issue_comment.go
issue_label.go
issue_subscription.go
issue_tracked_time.go
issue.go
key.go
label.go
main_test.go
milestone.go
pull.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
release_attachment.go
release.go
repo_test.go
repo.go Team permission to create repository in organization (#8312) 2019-11-20 19:27:49 +08:00
star.go
status.go
subscriber.go
tag.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
topic.go
tree.go