1
0
Fork 0
gitea/modules/structs
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
..
admin_user.go
attachment.go
doc.go
fork.go
git_blob.go
git_hook.go
hook.go
issue.go Fix API deadline removal (#8759) 2019-11-03 22:46:32 +08:00
issue_comment.go
issue_label.go
issue_milestone.go
issue_tracked_time.go
lfs_lock.go
miscellaneous.go
org.go
org_member.go
org_team.go Team permission to create repository in organization (#8312) 2019-11-20 19:27:49 +08:00
org_type.go
pull.go Fix API deadline removal (#8759) 2019-11-03 22:46:32 +08:00
release.go
repo.go Template Repositories (#8768) 2019-11-11 23:15:29 +08:00
repo_branch.go Update branch API endpoint to show effective branch protection. (#9031) 2019-11-16 19:39:18 +00:00
repo_collaborator.go
repo_commit.go
repo_file.go
repo_key.go
repo_refs.go
repo_tag.go
repo_topic.go
repo_tree.go
repo_watch.go
status.go
task.go
user.go
user_app.go
user_email.go
user_gpgkey.go
user_key.go
utils.go