diff options
author | Pablo Saavedra <saavedra.pablo@gmail.com> | 2017-02-02 03:08:59 +0100 |
---|---|---|
committer | 无闻 <u@gogs.io> | 2017-02-01 21:08:59 -0500 |
commit | 0081c6911d7ea28eb617b56e32012ba4dc9af90b (patch) | |
tree | b7cf55f5a462b5e28e884de7afcac8592e16a149 /scripts/autoboot.sh | |
parent | 2527037973441054692ee11446196d3ac6b135c3 (diff) |
Check deploy keys when Gogs is run with Service.RequireSignInView=true (#4078)
* Check deploy keys when Gogs is run with require_sign_in_view
Check if the deploy key can access to a repository. A deploy key
doesn't represent an gogs user, so in a site with Service.RequireSignInView
activated we should give read access only in the repositories where
this deploy key is in use. In other case, a deploy service or system
using an active deploy key can get read access to all the repositories
in a Gogs service.
* Refactoring: Comments starts in a new line
* Minor change in a comment
* Code cleaning. Replace spaces with tabs
Diffstat (limited to 'scripts/autoboot.sh')
0 files changed, 0 insertions, 0 deletions