Skip to content
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 Pop Up: File Downloader Assignment Confirmation #2657

Closed
eaquigley opened this issue Oct 19, 2015 · 12 comments
Closed

Assign Role Pop Up: File Downloader Assignment Confirmation #2657

eaquigley opened this issue Oct 19, 2015 · 12 comments

Comments

@eaquigley
Copy link
Contributor

eaquigley commented Oct 19, 2015

Assign Role pop up: If someone is assigning file downloader role at the dataverse or dataset level, when they click Save Changes, we need to add a pop up that says, “Assigning file downloader role means the user(s) will be given access to all restricted and unrestricted files for all versions of this dataset.”

Note: Do we need a confirmation for other roles?

@mheppler
Copy link
Contributor

Added static placeholder confirmFileDownloader dialog as a confirmation popup to the roles-assign pg for the dataverse/dataset permissions pg.

@mheppler
Copy link
Contributor

Reviewed with @scolapasta @sekmiller @eaquigley -- proposed to change the confirmation popup to additional help/info text in the Assign Role popup.

The original proposed text was:

“Assigning file downloader role means the user(s) will be given access to all restricted and unrestricted files for all versions of this dataset.”

Which can be generically/dynamically changed to:

“Assigning {role name} role means the user(s) will have {role name} role applied to all {object types} within this {object type}.”

mheppler added a commit that referenced this issue Feb 19, 2016
…missions pg. Fixed render issue with Requests counter on Restricted Files Permissions pg. Improved various labels and help text across these same pgs. [ref #2657 #2659 #2716]
@mheppler
Copy link
Contributor

Added warning/info text to Assign Role popup on Dataverse/Dataset Permissions pg.

Passing to @sekmiller to wire up the object types.

screen shot 2016-02-19 at 12 14 01 pm

@sekmiller
Copy link
Contributor

Fix applied and checked into branch

sekmiller added a commit that referenced this issue Mar 4, 2016
@sekmiller sekmiller assigned kcondon and unassigned sekmiller Mar 7, 2016
@kcondon
Copy link
Contributor

kcondon commented Jul 19, 2016

This fix is in branch 2572 according to Stephen: It's in the permissions branch 2572
It has not yet be made into a pull request.

@kcondon
Copy link
Contributor

kcondon commented Jul 19, 2016

Leaving in QA but removing my name until I receive pull request.

@kcondon kcondon removed their assignment Jul 19, 2016
@kcondon
Copy link
Contributor

kcondon commented Sep 14, 2016

Variable text is in place but when assigning roles at the dataset level, the text in some cases also says, Dataverses: Assigning the Member role means the user(s) will have the Member role applied to all Dataverses, Datasets, Files within this Dataset.

Since this at the dataset level, dataverses should not be in the message. Not all roles includes dataverses, why?

Roles including dataverses at dataset level: admin, curator, member

@sekmiller
Copy link
Contributor

Fixed the logic that displays the types of objects that a user will be granted permission on.

@kcondon
Copy link
Contributor

kcondon commented Sep 15, 2016

The issue I previously reported was fixed but found one more, sorry!
When you assign roles at a dataverse, any sub dataverses do not automatically get those perms since currently dataverses are "permission root" meaning they define their own perms and do not inherit.
So, messages at dv level should also not include dataverses.

@kcondon
Copy link
Contributor

kcondon commented Sep 20, 2016

Works, closing.

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

No branches or pull requests

8 participants