Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Mar 25, 2015
  1. @sergey-alekseev

    security :guardsman:

    sergey-alekseev authored
Commits on Apr 9, 2014
  1. @lcowell

    push code in to DataSource

    lcowell authored
Commits on Mar 4, 2014
  1. @lcowell

    allow more coordinated access to available users

    lcowell authored
    a DataSource can retrieve users and returns a record that includes the scope
    that the record originated from. This allows us to generate a scope_id for the
    user (eg. user_1005).
    
    This should close issue #56
Commits on Oct 10, 2013
  1. @lcowell
Commits on Aug 17, 2013
  1. @lcowell
Commits on Aug 9, 2013
  1. @lcowell
Commits on Jul 17, 2013
  1. @lcowell
Commits on Jul 15, 2013
  1. @lcowell
Commits on Jul 14, 2013
  1. @lcowell

    added userset which allows us to load user-like objects from config

    lcowell authored
    this abstraction still needs to be worked in to the rest of the project, but
    the idea is to uncouple the structure of the configuration from how it's being
    called in the project.
  2. @lcowell

    Revert "select option label can now specify a proc."

    lcowell authored
    This reverts commit 66adcf1.
Commits on Jul 11, 2013
  1. @jamesmoriarty
Commits on Jul 5, 2013
  1. @eljojo
Commits on May 20, 2013
  1. @lcowell

    WIP dispatch controller/view lambda guards via a guard class

    lcowell authored
    This abstraction will allow us to specify a class to handle authorizing access
    to the controller/view rather than using the lambdas. This becomes more important
    as configuration becomes more complex and the need to be able to test guards
    becomes more important.
Commits on May 7, 2013
  1. @gudata
Commits on May 6, 2013
  1. @lcowell

    provider initialization is moved to SwitchUser::Provider

    lcowell authored
    cleans up SwitchUser
    move provider operation closer to the providers
Commits on May 3, 2013
  1. @lcowell
Commits on Apr 30, 2013
  1. @lcowell

    disable switch_back feature by default

    lcowell authored
    having a switch back capability is useful, but potentially dangerous. Disable
    it by default so people upgrading don't get a security hole opened for them.
  2. @lcowell
  3. @lcowell
  4. @lcowell
  5. @lcowell
Commits on Apr 29, 2013
  1. @lcowell
Commits on Mar 14, 2013
  1. @terraplane
Commits on Nov 13, 2012
  1. @lcowell

    move scope_identifier parsing to UserLoader class

    lcowell authored
    * seems like a better place for the logic. UserLoader takes an input and returns a user
    * reduces what the controller needs to 'know'
    * I'm still not happy with the name 'UserLoader'
    * is prepare the right name for the class method ?
Commits on Nov 11, 2012
  1. @djmaze
Commits on Nov 2, 2012
  1. fix parsing of scope indentifier

    Evgenia Manolova authored
Commits on Oct 30, 2012
  1. @lcowell
  2. @lcowell
Commits on Oct 13, 2012
  1. @lcowell
Commits on Oct 12, 2012
  1. @lcowell

    added provider#current_users_without_scope

    lcowell authored
    This provides us with a way to load up all current users for all scopes. This
    is useful as seen in the SwitchUserHelper where we don't know which scope to
    check.
  2. @lcowell

    refactored helper to generate html programmatically

    lcowell authored
    - use provider to retrieve the current_user and remove logic from helper
    - don't look up current_user on each scope iteration
Commits on Oct 5, 2012
  1. @lcowell

    use #login_exclusive in controller for logging in the user

    lcowell authored
    login_exclusive is more descriptive than the previous controller code
    improves test coverage
Commits on Oct 3, 2012
  1. @lcowell
Commits on Oct 1, 2012
  1. @lcowell

    move logic for resolving the provider class out of the controller

    lcowell authored
    move in to SwitchUser as it is much easier to test
Commits on Sep 27, 2012
  1. @lcowell

    move providers to SwitchUser::Provider::ProviderName

    lcowell authored
    fixes error raise by SwitchUserController#provider_class
    autoload wasn't finding the constant Provider
    Provider wasn't namespaced under SwitchUser, so it was poluting the namespace
Something went wrong with that request. Please try again.