forked from flyerhzm/switch_user
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug #32446] Assuming identity is very slow #3
Open
aomran
wants to merge
69
commits into
master
Choose a base branch
from
rm32446
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* closes flyerhzm#67 * warden#set_user sets current_sign_in_at, last_sign_in_at, current_sign_in_ip, sign_in_count, current_sign_in_ip, last_sign_in_ip * use SessionSerialializer#store to bypass the updating of these columns * thanks rajagopals@7437c5c
Devise provider- don't store sign_in details
security 💂♂️
This reverts commit fb611a2.
This reverts commit e6147fb.
* re-implement e6147fb (reverted in d18b453) * closes flyerhzm#67 * warden#set_user sets current_sign_in_at, last_sign_in_at, current_sign_in_ip, sign_in_count, current_sign_in_ip, last_sign_in_ip * use SessionSerialializer#store to bypass the updating of these columns * fix tests
Devise provider- don't store sign_in details
SwitchUser.all_users only selects identifier and name columns. SwitchUser.data_sources.find_scope_id only queries that user.
…d str 2. Don't attempt to query db if scope str isn't in scope_id str
DataSource#find_scope_id bug fixes
replace select option to group option
fix grouped_options_for_select bug for rails 3.2
support capybara
add class and style options to switch_user_select
fix selected_user_of_helper bug
Make the javascript redirect respect the relative_url_root
add ability to store_sign_in info with devise provider
`#remember_user`. We need to be able to tell the gem that we want the user to be remembered so that we can switch back to it. It was unclear how it should've been done, so this is making sure that we don't have to make two calls to the `SwitchUser API`, just to make sure the original user will be remembered. Related Issue: flyerhzm/issues/55
fix scope in devise provider
Rails.env.production?
Fix small issue related to user scope on warden Change behaviour to allow remember=true to be called on URL
Fix typo in config instructions
Update docs about before_action when Rails < 4
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Updating the gem to latest version.