Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

issue 89: User update removes all user roles #95

Merged
merged 14 commits into from
Sep 20, 2018
Merged

issue 89: User update removes all user roles #95

merged 14 commits into from
Sep 20, 2018

Conversation

ddelponte
Copy link
Collaborator

@ddelponte ddelponte commented May 3, 2018

  • fixed bug in SpringSecurityUiService that was removing all of a User's Role associations upon user update
  • fixed bug where, if all Roles were unchecked for a User, after update, no roles would be displayed
  • modified test to support change to support change to Role display
  • fixed failing integration/functional tests by updating chromedriver and geckodriver versions

This PR is for issue #89

• fixed bug in `SpringSecurityUiService` that was removing all of a `User`'s `Role` associations upon user update
•• inspiration was taken from the PR at #90
• fixed bug where, if all `Role`s were unchecked for a `User`, after update, no roles would be displayed
• modified test to support change to support change to `Role` display
@ddelponte ddelponte self-assigned this Jun 25, 2018
@sdelamo
Copy link
Contributor

sdelamo commented Jul 18, 2018

@ddelponte could we have a test which verifies this issue?

- Added `webdrivermanager` dependency which will automatically download the chrome driver if it doesn't exist on the test machine
- Modified simple integration `UserSpec` test to verify the fix for Issue #89
@ddelponte
Copy link
Collaborator Author

ddelponte commented Jul 19, 2018

@sdelamo , tests have been added in commits:

@ddelponte
Copy link
Collaborator Author

@sdelamo I think this may be ready for merge

amondel2 and others added 4 commits August 14, 2018 09:25
- Add Feature #49
- Add ability to have multiple security questions.
- Remove Rogue Import
- Fix loader for tests
- Update Chrome Driver
- Make it so the example has the new files that go the up
- Fix the test and add an example of not using email.
- Fix items from Code Review
- Make it so the extended plugin actually works.
- Documentation updates and a quick refactor
- Update YML File so the test pass
- saving the fuzzy search
- Added the listener to hash the Security Answers to use the same strategy as the password encoding.
- Removed multiple domain based validations
- Fixed tests
- Fix YML file
- Create Scripts
- Added the Security Questions to the Menu
- Make the grails version the same as the example projects
- Finish Creating Script to setup security questions
- Add a check for a when a user doesn't have secuirty questions setup
- Add an entry in the Menu if this feature is turned on.
- Clean up the script to take the user name package and class name
- Make the Security Questions not dependent on Scaffolding.
- Create the Script to add all the security questions
- Make the Security Questions not dependent on Scaffolding.
- Create the Script to add all the security questions
- Make the file names/scripts and documentation all have the same name of challenge questions by default
- Make the file names/scripts and documentation all have the same name of challenge questions by default
- Updated Documentation and all names to match and consistent in the application.
- Fixed Code Review items
- Fixed Bugs with script creation
- Fixed Code back to normal from testing
- Account for when the User that is passed in the script doesn't contain the package
- Add some more documentation around the user-domain-class-name parameter in the script.
- Update ChallengeQuestionsListenerService.groovy.template
- Remove Unused Import
- Update ProfileListenerService.groovy
@ddelponte
Copy link
Collaborator Author

@sdelamo conflicts have been resolved. I think this is ready to merge

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants