diff options
author | Nick Thomas <nick@gitlab.com> | 2018-10-05 15:29:25 +0300 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2018-10-05 15:29:25 +0300 |
commit | 86ad32071ed3748deb3835047a5205811419b869 (patch) | |
tree | 0828ad0230ba96e293ddd93271b0d74308e39fff /LICENSE | |
parent | d07b803b6f8519566940843e389a6c2d73424a76 (diff) | |
parent | f919cbee022c7d71bfbe83e7188843fcab5deca6 (diff) |
Merge branch 'auth' into 'master'
Make GitLab pages support access control
This change adds support for access controlled pages by configuration
provided from GitLab to the `config.json`. When project is not public
and access control is enabled for it, pages will require user to
authenticate. This is done by redirecting user to GitLab authorize
endpoint. If project visiblity is public, then access will not be checked.
Pages will store the access token in a session cookie. When access token
is invalid the authentication will be done again.
This work is related to the feature request gitlab-ce#33422, check also
MR gitlab-ce!18589 and omnibus-gitlab!2583.
## Changes
* New fields in the `config.json`
* Auth package for handling OAuth and checking access to a project when necessary
* Test for auth and also acceptance tests
See merge request gitlab-org/gitlab-pages!94
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions