mirror of
1
Fork 0
forgejo/routers/api/v1
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 Password Complexity Checks (#6230) 2019-10-14 16:24:26 +01:00
convert Add team option to grant rights for all organization repositories (#8688) 2019-11-06 11:37:14 +02:00
misc Sign merges, CRUD, Wiki and Repository initialisation with gpg key (#7631) 2019-10-16 14:42:42 +01:00
org Add team option to grant rights for all organization repositories (#8688) 2019-11-06 11:37:14 +02:00
repo Fix API deadline removal (#8759) 2019-11-03 22:46:32 +08:00
swagger Add API endpoint for accessing repo topics (#7963) 2019-09-03 23:46:24 +08:00
user Fix 500 when getting user as unauthenticated user (#8653) 2019-10-24 09:18:41 +08:00
utils Move more webhook codes from models to webhook module (#8802) 2019-11-03 22:13:25 +00:00
api.go Add API for Issue set Subscription (#8729) 2019-11-02 23:27:49 +08:00