-
Notifications
You must be signed in to change notification settings - Fork 493
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
assign role using email #9963
assign role using email #9963
Conversation
Give a user a role from email address of the user's account
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.
Just a quick comment for now
src/main/webapp/roles-assign.xhtml
Outdated
<h:outputText value="#{roleAssignee.displayInfo.title}"/> | ||
<h:outputText value="#{roleAssignee.displayInfo.title}"/> | ||
<h:outputText value=" - #{roleAssignee.displayInfo.emailAddress}"/> |
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.
@jeromeroucou I saw your note about this:
"Yes, there is a little difference from before : email addresses are now displayed next to the user's name, like this : John Doe - [email protected]. I can remove that if needed."
I'm wondering... is this potentially a privacy problem? I can discover your email address by using the "add role" feature?
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.
Hi @pdurbin,
Indeed, a collection administrator could discover an email address with this feature. In that case, I'll remove my proposal.
What this PR does / why we need it:
This PR will address the request to assign a role to others with their email addresses
Which issue(s) this PR closes:
Special notes for your reviewer:
I haven't found any unit tests for managing roles and permissions (RoleAssigneeServiceBean.java)
Suggestions on how to test this:
In the "Assign a role" modal of a collection's Permissions menu, you can search for a user by e-mail address.
Does this PR introduce a user interface change? If mockups are available, please link/include them here:
Yes, there is a little difference from before : email addresses are now displayed next to the user's name, like this :
John Doe - [email protected]
. I can remove that if needed.Is there a release notes update needed for this change?:
No
Additional documentation:
In documentation page, the first screenshot mist be updated with a Havard Dataverse collection in background