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

Permissions: Timestamp + user name in notifications/permissions pg for access requests #2855

Closed
sbarbosadataverse opened this issue Jan 11, 2016 · 20 comments
Labels
Feature: Permissions Type: Suggestion an idea User Role: Curator Curates and reviews datasets, manages permissions

Comments

@sbarbosadataverse
Copy link

The"" File Permissions" page does not display a
submitted timestamp next to outstanding requests, and the emails do not
contain the user who requested the files.

Problem : Gmail tends to group similar looking emails into the same conversation. Especially ones
with the same Subject, From, and To. So this may actually be part of the
reason why admins see many more requests in the File Permissions page than
they have unique "Access has been requested for a restricted file" emails in
the inbox.

Action: could be solved by adding a unique string of some sort e.g.,
the requestor's username, in the Subject header ???

@sbarbosadataverse sbarbosadataverse changed the title add more to "file request access" details and "file permissions" page when request submitted Request Access workflow: put timestamp and user name in notification and on permissions page waiting approval Jan 26, 2016
@eaquigley
Copy link
Contributor

Adding @tokeefe comment from #2261 to this ticket, "I propose adding a timestamp column to the permissions editing panel to reveal when a user submitted a request to access a restricted file, or files. Alternatively, adding the user's name to the automated email would make this information recoverable."

@mheppler mheppler removed the Type: Feature a feature request label Feb 8, 2016
@mheppler mheppler changed the title Request Access workflow: put timestamp and user name in notification and on permissions page waiting approval Permissions: Timestamp + user name in notifications/permissions pg for access requests Oct 23, 2016
@pdurbin pdurbin added User Role: Curator Curates and reviews datasets, manages permissions and removed zPriority: Medium labels Jul 5, 2017
@dlmurphy
Copy link
Contributor

dlmurphy commented Dec 5, 2017

Recently, @sbarbosadataverse encountered a situation that's relevant to this issue:

Alex from HBS accidently rejected a user who requested access to data. I asked him to send me the notification so I can see if a name was attached to the request and nothing was attached: no name, no email, no username, nothing.

She suggests that access request notifications should include the name of requester. Dataverse should then whether the requester is "approved" or "rejected". The Permissions page should carry a record of both approvals and rejections, so users can refer back to it later.

@scolapasta
Copy link
Contributor

We have recently made changes to the action log record so that we can determine what happened here. Now that we can track it as needed, I'd wait to add UI / functionality for this until we see how often this is needed.

@pdurbin
Copy link
Member

pdurbin commented Dec 5, 2017

@scolapasta which change was that?

@scolapasta
Copy link
Contributor

I was thinking the change who made for the actionlogrecord to allow commands to override describe. But now that I think about it, we only overrode for AssignRoleCommand. So we'd need to add a command for rejecting roles (currently not a command).

@pdurbin
Copy link
Member

pdurbin commented Oct 13, 2018

Regarding the three comments above...

  • "the emails do not contain the user who requested the files"
  • "adding the user's name to the automated email would make this information recoverable"
  • "Alex from HBS accidently rejected a user who requested access to data. I asked him to send me the notification so I can see if a name was attached to the request and nothing was attached: no name, no email, no username, nothing."

... I thought I'd provide a screenshot below of how the "Access has been requested for a restricted file" emails look as of the latest release, Dataverse 4.9.4, and how the person receiving the email gets no information about who is requesting access. No name, no username, no email address. See also the discussion at #3404 (comment)

screen shot 2018-10-13 at 9 02 11 am

I can't imagine it would be very difficult to put the name, username and email address of the person requesting access in these "Access has been requested for a restricted file" emails.

@pdurbin
Copy link
Member

pdurbin commented Oct 31, 2018

I brought this issue up in a meeting just now and we didn't estimate it but afterwards @sekmiller helped me find pull request #5134 (merged but not yet released) where we added "requestor" to the notifications database table. This was for #5013 for a certain kind of requestor:

  • As as someone requesting review of my dataset...

We could use this "requestor" field to also mean:

  • As someone requesting a file...

@pdurbin
Copy link
Member

pdurbin commented Nov 14, 2018

how the person receiving the email gets no information about who is requesting access

I just spoke with @sekmiller and a fix for this is in pull request #5309.

@mheppler
Copy link
Contributor

@pdurbin @sekmiller Can we get some UI screenshots of the emails and request table changes? Please? Thank you!

@sekmiller
Copy link
Contributor

screen shot 2018-11-14 at 1 24 38 pm

This is what the notification looks like. Be aware that it's FirstName LastName at email address. (We use some weird user names in integration tests.)

@scolapasta
Copy link
Contributor

Minor quibble:
"FirstName LastName at email address" seems like a strange way to list these values.
"FirstName LastName (email address)" or "FirstName LastName " seems more standard and readable.

@sekmiller
Copy link
Contributor

I favored the email in parens version but Julian had asked for the "at" construction for Submit Dataset for Review so I followed that pattern.

@pdurbin pdurbin added Feature: Permissions Status: QA Type: Suggestion an idea User Role: Curator Curates and reviews datasets, manages permissions and removed Feature: Permissions Type: Suggestion an idea User Role: Curator Curates and reviews datasets, manages permissions Status: Code Review labels Nov 15, 2018
@mheppler
Copy link
Contributor

After confirming the UI impact of this issue with @scolapasta, I would like to strike it from the connection to the #5229 PR as it does not address the original request from @sbarbosadataverse...

The "(Restricted File Permissions)" page does not display a submitted timestamp next to outstanding requests

Just want to make sure that request does not get lost in the closing of this issue after the PR goes through QA.

@kcondon kcondon self-assigned this Nov 15, 2018
@kcondon kcondon removed their assignment Nov 26, 2018
@pdurbin
Copy link
Member

pdurbin commented Nov 26, 2018

@mheppler makes sense but heads up to all that emails and in-app notifications were improved in that pull request.

@kcondon
Copy link
Contributor

kcondon commented Nov 26, 2018

@pdurbin was that part of the original scope?

@pdurbin
Copy link
Member

pdurbin commented Nov 26, 2018

@kcondon not to my knowledge.

@mheppler
Copy link
Contributor

@pdurbin Could we get an updates email screenshot in this issue for tracking purposes?

@pdurbin
Copy link
Member

pdurbin commented Nov 26, 2018

@mheppler I didn't work on the code but you could ask someone who has the branch spun up. Or spin it up yourself.

@mheppler
Copy link
Contributor

mheppler commented Dec 5, 2018

See #5300 for how the date and time format of the time stamps on the Versions Details popup (labeled "Dataset Versions, Difference" above) on the Dataset pg, as well as the Notification table on the Account pg have been updated for the internationalization efforts across the site.

Also consider Date/Time Stamp Format - Consistency Across App #1391 for preferred date and time formatting.

@cmbz
Copy link

cmbz commented Aug 20, 2024

To focus on the most important features and bugs, we are closing issues created before 2020 (version 5.0) that are not new feature requests with the label 'Type: Feature'.

If you created this issue and you feel the team should revisit this decision, please reopen the issue and leave a comment.

@cmbz cmbz closed this as completed Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: Permissions Type: Suggestion an idea User Role: Curator Curates and reviews datasets, manages permissions
Projects
None yet
Development

No branches or pull requests

9 participants