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

The Top Delete Button Does Not Check Permissions #128

Open
danebenal opened this issue Sep 22, 2023 · 1 comment
Open

The Top Delete Button Does Not Check Permissions #128

danebenal opened this issue Sep 22, 2023 · 1 comment

Comments

@danebenal
Copy link

Describe the bug

On the Files page, the top delete button does not check to see if the user has the required permissions to delete the file before sending the call to COMS. This generates confusing messages to the user -- both an error and a successful delete message are shown.

To Reproduce

Steps to reproduce the behavior:

  1. Have READ only permissions granted on a file or bucket to you
  2. Select the checkbox to the left of the file
  3. Use the delete button at the top of the screen
  4. See error and success messages
    image

Expected behavior

After clicking the delete button, BCBox should check the user's permissions and if they don't have them should generate a message to the user alerting them. BCBox should only send a delete request to COMS if the user has the required permissions.

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Edge
  • Version: 117.0.2045.31
@slhurley
Copy link

Jira Issue 3363

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

No branches or pull requests

2 participants