]> source.dussan.org Git - gitea.git/commit
Add team option to grant rights for all organization repositories (#8688)
authorDavid Svantesson <davidsvantesson@gmail.com>
Wed, 6 Nov 2019 09:37:14 +0000 (10:37 +0100)
committerLauris BH <lauris@nix.lv>
Wed, 6 Nov 2019 09:37:14 +0000 (11:37 +0200)
commit72aa5a20ecf8aa3f7c110fd51c37994d950e0ba8
tree3ac89c3c7b28572737b20dfe8cbeed259184d91b
parent0109229928d8603ebedc2364943538f788635370
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 753b7d205be260b8be465b5291a02975a81f3093.

* Clarify help text what options do.
17 files changed:
integrations/api_team_test.go
models/migrations/migrations.go
models/migrations/v105.go [new file with mode: 0644]
models/org.go
models/org_team.go
models/org_team_test.go
models/repo.go
modules/auth/org.go
modules/structs/org_team.go
options/locale/locale_en-US.ini
routers/api/v1/convert/convert.go
routers/api/v1/org/team.go
routers/org/teams.go
templates/org/team/new.tmpl
templates/org/team/repositories.tmpl
templates/org/team/sidebar.tmpl
templates/swagger/v1_json.tmpl