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

Space Viewer should not see the edit options on shares #7436

Closed
micbar opened this issue Aug 11, 2022 · 0 comments · Fixed by #7470
Closed

Space Viewer should not see the edit options on shares #7436

micbar opened this issue Aug 11, 2022 · 0 comments · Fixed by #7470
Assignees
Labels
Priority:p3-medium Normal priority Type:Bug Something isn't working

Comments

@micbar
Copy link
Contributor

micbar commented Aug 11, 2022

Steps to reproduce

  1. Create Space "Mars"
  2. Create Neue Datei.xlsx
  3. Share Neue Datei.xlsx with Moss
  4. Add Einstein to the space with the Viewer Role
  5. Log in as Einstein
  6. Open the share panel on Neue Datei.xlsx

Expected behaviour

Einstein should see the share with Moss, but should not have the edit dialogue

Actual behaviour

Einstein can try to edit the share and can submit the changes

  1. The value of the role is changed in web, no error message
  2. Reload, the edit didn't happen because not allowed by the backend

1660212789693

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: Infinite Scale 2.0.0-beta.5+93bf3356e Community
ownCloud Web UI 5.7.0-rc.9

Updated from an older Infinite Scale or fresh install:

Where did you install Infinite Scale from:

Environment ownCloud Core

Web server:

Database:

PHP version:

Version: (see ownCloud admin page)

Updated from an older ownCloud or fresh install:

Where did you install ownCloud from:

Signing status (ownCloud 9.0 and above):

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) ...
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