forked from gitea/gitea
1
0
Fork 0
gitea/modules/auth
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
..
ldap Abort syncrhonization from LDAP source if there is some error. (#7960) 2019-08-24 21:53:37 +03:00
oauth2 Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
openid Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
pam golint fixed for modules/auth 2016-11-27 21:39:06 +08:00
admin.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
auth.go Add setting to disable BASIC authentication (#8586) 2019-10-19 15:27:15 +01:00
auth_form.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
org.go Add team option to grant rights for all organization repositories (#8688) 2019-11-06 11:37:14 +02:00
repo_branch_form.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
repo_form.go Allow Protected Branches to Whitelist Deploy Keys (#8483) 2019-10-21 09:21:45 +01:00
repo_form_test.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
user_form.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
user_form_auth_openid.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
user_form_test.go Block registration based on email domain (#5157) 2018-11-14 20:00:04 -05:00