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

default sharing permission not working? #22173

Closed
devnull4242 opened this issue Aug 10, 2020 · 11 comments
Closed

default sharing permission not working? #22173

devnull4242 opened this issue Aug 10, 2020 · 11 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug

Comments

@devnull4242
Copy link

devnull4242 commented Aug 10, 2020

See also https://help.nextcloud.com/t/standard-share-settings-by-admin-doesnt-work/89312
(e.g. discussion and screenshots)

I think the default sharing permissions set in Settings -> Administration -> Sharing are not working.
Unset to blank:
Create []
Change []
Delete []
Reshare []

changes the database seemingly correct to:

|core|shareapi_default_permission_cancreate |no|
|core|shareapi_default_permission_candelete |no|
|core|shareapi_default_permission_canshare |no|
|core|shareapi_default_permission_canupdate |no|
|core|shareapi_default_permissions |1|

But in file sharing Files -> Sharing -> Username
set it to

Allow editing [x]
Allow creating [x]
Allow deleting [x}
Allow resharing [x]

Steps to reproduce

set link of sharing
get default all set but it is unset.

Expected behaviour

correct default setting for sharing folders and files

Actual behaviour

wrong default setting for sharing folders and files

Problem on my server and on the server of the other person in nextcloudforum-discussion.

Server configuration

default for Nextcloud 19.0.1
Operating system:
CentOS
Web server:
nginx
Database:
MariaDB
PHP version:
default
Nextcloud version: (see Nextcloud admin page)
19.0.1
Updated from an older Nextcloud/ownCloud or fresh install:
oder versions seems to work (see link at top)
Where did you install Nextcloud from:
standard download

@devnull4242 devnull4242 added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Aug 10, 2020
@g4ndy
Copy link

g4ndy commented Aug 12, 2020

I can confirm that default user permissions really doesn't work since i updated to nextcloud 19.0.1 (snap2)

@msfuture
Copy link

Not working here as well. Broken since update to 19.0.1!

@kevstewa
Copy link

Also affected here since a version 18 minor point release. Was hoping the upgrade to 19.0.1 fixed the issue but it still exists.

@jolly-jump
Copy link

Same problem here. We still use 18.x.
Is there some fix in sight?

@msfuture
Copy link

msfuture commented Sep 7, 2020

Fixed in 19.0.2 here...

@jolly-jump
Copy link

To be more precise: #21967 fixed it for 19, and as in #22073 mentioned, it is "only" a fix in the files_sharing_tab.js https://github.com/nextcloud/server/pull/21967/files.
I might try to backport this into 18, if my upgrade to 19 fails (e.g. since ubuntu 18.04 is not suitable....grrrr.)

@MorrisJobke
Copy link
Member

#21963 (comment)

@MorrisJobke
Copy link
Member

So it might be fixed once the backport is in.

@MorrisJobke
Copy link
Member

Backport is done.

@pasith3e
Copy link

Hi,

the Problem persist for me in Version 22.2.1 for external Shares, internal Shares have the Correct Permission set.
This User may have the same Problem:
https://help.nextcloud.com/t/standard-share-settings-by-admin-doesnt-work/89312/16

@timowevel1
Copy link

Problem still persists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug
Projects
None yet
Development

No branches or pull requests

8 participants