-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add support for GitHub and ORCID identifiers, plus enhancements to user account management #321
Conversation
Add helper methods for text associated with custom ontology sets.
This is now handled by a separate passwords controller
No longer using a common form for new and edit
p = params.require(:user).permit(:firstName, :lastName, :username, :email, :email_confirmation, :password, | ||
:password_confirmation, :register_mail_list, :admin) | ||
p = params.require(:user).permit(:firstName, :lastName, :username, :email, :password, :password_confirmation, | ||
:admin, :githubId, :orcidId) |
Check failure
Code scanning / Brakeman
Potentially dangerous key allowed for mass assignment. Error
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The :admin
key was already present in the previous revision of this code. It's associated with the "Grant admin privileges" checkbox, and is only visible on the edit account page if the logged-in user is an administrator.
This pull request introduces optional functionality for users to associate their GitHub usernames and ORCID iDs with their BioPortal accounts. Additionally, it includes several incremental improvements and refactoring efforts for the account and login pages to enhance the overall user experience.
Account creation page enhancements
Account show and edit page improvements
Password management
UsersController
Validation and code cleanup
form_for
withform_with
UsersHelper
to improve view layer code cleanlinessaccount.scss
to house CSS code for account pageslogin/index
andlogin/lost_password
from ERB to HAML