-
Notifications
You must be signed in to change notification settings - Fork 82
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
Warn users when they approve share requests with Write/Modify permissions #1566
Comments
I kind of like the second one better, but waiting to see what the rest think |
I like option 2 better! |
I like option 2.. I prefer a user confirms explicitly they definitely want write permissions to be granted. Then there's no excuse 'I didn't see it' |
I like option 2 as well. @petrkalos , would this dialog box show for all kind of approvals ( i.e. Read-Only, Write /Modify ) ? |
No I am thinking only if it's not read-only |
@zsaltys @TejasRGitHub as discussed see #1568 |
### Feature or Bugfix - Feature ### Detail If and only if the request permissions include Write/Modify * when then approver clicks on `Approve` they get a confirmation pop-up ![image](https://github.com/user-attachments/assets/11f9d27f-e518-481e-9a13-87dafd18b9d2) * In the shareview page a warning triangle⚠️ is added next to the `Permissions` row ![image](https://github.com/user-attachments/assets/9b07e0d3-e92f-498d-9415-533d3e2db1be) ### Relates Solves #1566 ### Security Please answer the questions below briefly where applicable, or write `N/A`. Based on [OWASP 10](https://owasp.org/Top10/en/). - 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.
Currently the share view indicates the requested permissions but given that customers are used to Read-only nature of data.all it might be good to implement a warning mechanism to increase awareness.
My suggestions, first one is much simpler to implement but the second is more assertive.
Only for Write/Modify share requests display a sizeable warning as a subheader in the ShareView
Only for Write/Modify share requests create a confirmation pop-up when clicking the
Approve
buttonThe text was updated successfully, but these errors were encountered: