Tag a Session with a Namespace
This allows us to authorize a user's session for access to only a specific portion of the GitLab instance in future MRs.
Showing
- app/models/active_session.rb 67 additions, 5 deletionsapp/models/active_session.rb
- config/initializers/scoped_sessions.rb 10 additions, 0 deletionsconfig/initializers/scoped_sessions.rb
- ee/app/controllers/groups/omniauth_callbacks_controller.rb 12 additions, 0 deletionsee/app/controllers/groups/omniauth_callbacks_controller.rb
- ee/spec/controllers/groups/omniauth_callbacks_controller_spec.rb 12 additions, 3 deletions.../controllers/groups/omniauth_callbacks_controller_spec.rb
- lib/gitlab/redis/shared_state.rb 1 addition, 0 deletionslib/gitlab/redis/shared_state.rb
- spec/models/active_session_spec.rb 65 additions, 0 deletionsspec/models/active_session_spec.rb
config/initializers/scoped_sessions.rb
0 → 100644
Please register or sign in to comment