0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-25 18:22:47 +01:00
gitea/routers/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 Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
key.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
push_update.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
serv.go Move migrating repository from frontend to backend (#6200) 2019-10-13 21:23:14 +08:00