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

UI improvement of "Request Access" #1228

Merged
merged 7 commits into from May 16, 2024

Conversation

SofiaSazonova
Copy link
Contributor

@SofiaSazonova SofiaSazonova commented Apr 29, 2024

Feature or Bugfix

  • UI improvement

Detail

  • Dataset Page: for all users "Request access" button is added (pics 1, 2)
  • Dataset List Page: "Learn more" removed (duplicated functionality), "Request access" added (pic 3)
  • Catalog page: text added near the icon (pic 4)

Relates

Security

Please answer the questions below briefly where applicable, or write N/A. Based on
OWASP 10.

  • Does this PR introduce or modify any input fields or queries - this includes
    fetching data from storage outside the application (e.g. a database, an S3 bucket)?
    • Is the input sanitized?
    • What precautions are you taking before deserializing the data you consume?
    • Is injection prevented by parametrizing queries?
    • Have you ensured no eval or similar functions are used?
  • Does this PR introduce any functionality or component that requires authorization?
    • How have you ensured it respects the existing AuthN/AuthZ mechanisms?
    • Are you logging failed auth attempts?
  • Are you using or adding any cryptographic features?
    • Do you use a standard proven implementations?
    • Are the used keys controlled by the customer? Where are they stored?
  • Are you introducing any new policies/roles/users?
    • Have you used the least-privilege principle? How?

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@SofiaSazonova
Copy link
Contributor Author

SofiaSazonova commented Apr 29, 2024

1
Screenshot 2024-04-29 at 14 15 28
2
Screenshot 2024-04-29 at 14 15 08
3
Screenshot 2024-04-29 at 14 01 10
4
Screenshot 2024-04-29 at 14 00 59

@SofiaSazonova SofiaSazonova changed the title Button access request UI improvement of "Request Access" Apr 29, 2024
@SofiaSazonova SofiaSazonova marked this pull request as ready for review April 29, 2024 13:19
@SofiaSazonova
Copy link
Contributor Author

@zsaltys have a look, please. Did I understand you correctly?
@dlpzx what do you think?

@dlpzx
Copy link
Contributor

dlpzx commented May 13, 2024

I like the changes, nice! my only comments would be that the "Request access" button is not necessary for dataset owners. That is in pic 1 for example the dataset owners cannot request access to the database (although it might be argued that they request access for a consumption role; so I am not sure what to think) Same applies for list datasets, when we list datasets we get the list of datasets that we already have access to, which means that the button is uncessary

@SofiaSazonova
Copy link
Contributor Author

@dlpzx originally the "lock" icon was available for everybody, owners as well. I think thats because of the consumption roles or groups, e.g.
UserA is in groups A and B, group A is the owner if dataset, but B has no access to it. So, User A may want to request access for group B.

@SofiaSazonova SofiaSazonova linked an issue May 15, 2024 that may be closed by this pull request
Copy link
Contributor

@noah-paige noah-paige left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested and looks good!

@SofiaSazonova SofiaSazonova merged commit 91a1344 into data-dot-all:main May 16, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Put a request access button directly on the dataset page
3 participants