1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-10 12:14:25 +00:00
gitea/modules/private
zeripath 0bfe5eb10b
Allow Protected Branches to Whitelist Deploy Keys (#8483)
Add an option to protected branches to add writing deploy keys to the whitelist for pushing.

Please note this is technically a breaking change: previously if the owner of a repository was on the whitelist then any writing deploy key was effectively on the whitelist. This option will now need to be set if that is desired.

Closes #8472 

Details:
* Allow Protected Branches to Whitelist Deploy Keys
* Add migration
* Ensure that IsDeployKey is set to false on the http pushes
* add not null default false
2019-10-21 09:21:45 +01:00
..
hook.go Allow Protected Branches to Whitelist Deploy Keys (#8483) 2019-10-21 09:21:45 +01:00
internal.go Move serv hook functionality & drop GitLogger (#6993) 2019-06-01 23:00:21 +08:00
key.go Move serv hook functionality & drop GitLogger (#6993) 2019-06-01 23:00:21 +08:00
serv.go Move serv hook functionality & drop GitLogger (#6993) 2019-06-01 23:00:21 +08:00