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

[OCIS] [spaces] delete dialog box is not cleared from screen while trying to empty the trashbin if the user doesn't have enough permission to do so #7129

Closed
SwikritiT opened this issue Jun 15, 2022 · 0 comments · Fixed by #7248
Assignees
Labels
Priority:p3-medium Normal priority Type:Bug Something isn't working

Comments

@SwikritiT
Copy link
Contributor

SwikritiT commented Jun 15, 2022

Steps to reproduce

  1. As space admin "Einstein" create space "team.1" and add user "Moss" with role "viewer"
  2. As user "Einstein" create file parent/test.txt and delete test.txt
  3. As user "Moss" go to trashbin of team.1 , you can see deleted file test.txt
  4. Now click the Empty trash bin button, a dialog appears then click delete

Expected behaviour

An error message Failed to delete all files permanently appears on the screen and the dialog box should be cleared

Actual behaviour

An error message Failed to delete all files permanently appears on the screen but the dialog box is not cleared. This problem only exists when the deletion is done through Empty trash bin button, when selecting the resources one by one and clicking delete the dialog box is cleared. Also if the user has enough permission to delete the files, the files are deleted and the dialog box is cleared.

Environment general

Operating system:

Backend (ownCloud Core or Infinite Scale):

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...

Environment ownCloud Infinite Scale

Version: latest master

Updated from an older Infinite Scale or fresh install:

Where did you install Infinite Scale from:

Login as admin user into your ownCloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results into https://gist.github.com/ and put the link here.

The content of config/config.php:

Log in to the web-UI with an administrator account and click on
'admin' -> 'Generate Config Report' -> 'Download ownCloud config report'
This report includes the config.php settings, the list of activated apps
and other details in a well-sanitized form.

or 

If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your ownCloud installation folder

*ATTENTION:* Do not post your config.php file in public as is. Please use one of the above
methods whenever possible. Both, the generated reports from the web-ui and from occ config:list
consistently remove sensitive data. You still may want to review the report before sending.
If done manually then it is critical for your own privacy to diligently
remove *all* hostnames, passwords, usernames, salts and other credentials before posting.
You should assume that attackers find such information and will use them against your systems.

List of activated apps:

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your ownCloud installation folder.

Are you using external storage, if yes which one: local/smb/sftp/...

Are you using encryption: yes/no

Client configuration

Browser:

Operating system:

Logs

Web server error log

Insert your webserver log here

ownCloud log (data/owncloud.log)

Insert your ownCloud log here

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log 
c) ...
@SwikritiT SwikritiT added the Type:Bug Something isn't working label Jun 15, 2022
@SwikritiT SwikritiT changed the title [OCIS] delete dialog box is not cleared from screen while trying to empty the trashbin if the user doesn't have enough permission to do so [OCIS] [spaces] delete dialog box is not cleared from screen while trying to empty the trashbin if the user doesn't have enough permission to do so Jun 15, 2022
@kulmann kulmann added the Priority:p3-medium Normal priority label Jun 15, 2022
@AlexAndBear AlexAndBear self-assigned this Jul 8, 2022
@kulmann kulmann moved this to Done in Web Support Board Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority:p3-medium Normal priority Type:Bug Something isn't working
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants