0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-29 03:54:25 +01:00
gitea/modules/structs
David Svantesson 72aa5a20ec Add team option to grant rights for all organization repositories (#8688)
* Add field IsAllRepositories to team

* Add AllRepositories to team UI

* Manage team with access to all repositories

* Add field IsAllRepositories to team API

* put backticks around table/column names

* rename IsAllRepositories to IncludesAllRepositories

* do not reload slice if already loaded

* add repo to teams with access to all repositories when changing repo owner

* improve tests for teams with access to all repositories

* Merge branch 'master'

* Change code for adding all repositories

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

* fmt after merge

* Change code in API EditTeam similar to EditTeamPost web interface

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

* Clarify that all repositories will be added

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

* All repositories option under Permissions headline

* New setting group 'Repository access'

* Move check IncludeAllRepositories to removeRepository.

* Revert "Move check IncludeAllRepositories to removeRepository." and add comment instead.

This reverts commit 753b7d205b.

* Clarify help text what options do.
2019-11-06 11:37:14 +02:00
..
admin_user.go
attachment.go
doc.go
fork.go
git_blob.go
git_hook.go
hook.go Improve webhooks (#8583) 2019-10-18 23:42:04 +01:00
issue_comment.go
issue_label.go
issue_milestone.go
issue_tracked_time.go
issue.go Fix API deadline removal (#8759) 2019-11-03 22:46:32 +08:00
lfs_lock.go
miscellaneous.go API method to list all commits of a repository (#6408) 2019-08-26 16:09:10 +02:00
org_member.go
org_team.go Add team option to grant rights for all organization repositories (#8688) 2019-11-06 11:37:14 +02:00
org_type.go
org.go Add teams to repo on collaboration page. (#8045) 2019-09-23 23:08:03 +03:00
pull.go Fix API deadline removal (#8759) 2019-11-03 22:46:32 +08:00
release.go
repo_branch.go
repo_collaborator.go
repo_commit.go
repo_file.go
repo_key.go
repo_refs.go
repo_tag.go
repo_topic.go Add API endpoint for accessing repo topics (#7963) 2019-09-03 23:46:24 +08:00
repo_tree.go
repo_watch.go
repo.go Update migrated repositories' issues/comments/prs poster id if user has a github external user saved (#7751) 2019-10-14 09:10:42 +03:00
status.go
task.go Move migrating repository from frontend to backend (#6200) 2019-10-13 21:23:14 +08:00
user_app.go
user_email.go
user_gpgkey.go
user_key.go
user.go
utils.go