server icon indicating copy to clipboard operation
server copied to clipboard

Can't toggle "Can edit" checkbox while sharing file in web interface

Open PhantomPhreak opened this issue 8 years ago • 10 comments

Steps to reproduce

  1. Choose some file
  2. Share it with somebody
  3. Try to toggle "Can edit" checkbox

Expected behaviour

Checkbox status changed after clicking on it and show two options (enabled, disabled) respectively

Actual behaviour

Checkbox status is not changed after clicking on it

Server configuration

Operating system: Debian 9

Web server: Nginx+PHP-FPM

Database: MySQL

PHP version: 7.1

Nextcloud version: (see Nextcloud admin page) 14.0.2 RC 2

Updated from an older Nextcloud/ownCloud or fresh install:

Where did you install Nextcloud from:

Signing status:

Signing status
Login as admin user into your Nextcloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results here.

List of activated apps:

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

Nextcloud configuration:

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

or 

Insert your config.php content here. 
Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …)

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

Are you using encryption: yes/no

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

LDAP configuration (delete this part if not used)

LDAP config
With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your Nextcloud installation folder

Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';


Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.

Client configuration

Browser:

Operating system:

Logs

Web server error log

Web server error log
Insert your webserver log here

Nextcloud log (data/nextcloud.log)

Nextcloud log
Insert your Nextcloud log here

Browser log

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

a) The javascript console log
b) The network log
c) ...

PhantomPhreak avatar Oct 10 '18 06:10 PhantomPhreak

GitMate.io thinks possibly related issues are https://github.com/nextcloud/server/issues/6374 (Share: Cannot check the checkbox "Can Edit" ), https://github.com/nextcloud/server/issues/6838 (Shared calendar is not editable despite checked "can edit" checkbox), https://github.com/nextcloud/server/issues/8266 (NC13, Cannot edit Files with Collabora in shared folders), https://github.com/nextcloud/server/issues/1708 (Sharing: Cannot delete files from share ), and https://github.com/nextcloud/server/issues/2967 (User cannot log in the web interface).

nextcloud-bot avatar Oct 10 '18 06:10 nextcloud-bot

Same issue here with Nextcloud 14.0.1 (CentOS 7.5, Apache + PHP 7.2 + PostgreSQL)

EDIT : With 14.0.2 too

axfla avatar Oct 10 '18 09:10 axfla

Hello,

Issue still present in Nextcloud 14.0.3. Behaviour previously ok in 13.0.6, and broke in 14.0.1. The check sign is now a "minus" sign, and cannot be unselected once selected.

Sorry for the screenshots in French. "Peut éditer" is "Can edit".

Ok in 13.0.6: image

Broken in 14.0.[1-3]: image

btreguier avatar Oct 12 '18 09:10 btreguier

Same here with NC 14.03. Also with txt and Online Office files. Sharing Folders with editing rights or sharing a link works.

ntinti avatar Oct 23 '18 07:10 ntinti

Too much issues in Nextcloud? Nobody from the developer team is seeing and revising this fault?

ntinti avatar Oct 24 '18 00:10 ntinti

Maybe this issue should be flagged as "bug".

axfla avatar Oct 24 '18 06:10 axfla

I will make a new issue - this seems to be overlooked

ntinti avatar Oct 24 '18 20:10 ntinti

reproduced in 14.0.3 it happens only on files, not on folders maybe relatet to #10934 too? however, this one persists after reloading the page cc @nextcloud/server-triage

violoncelloCH avatar Oct 25 '18 07:10 violoncelloCH

Too much issues in Nextcloud?

Correct - currently there is just so much stuff incoming and we appreciate help here. If people could try to verify bugs and check for duplicates this would already be a great help.

MorrisJobke avatar Oct 25 '18 08:10 MorrisJobke

it happens only on files, not on folders

I can reproduce as well.

maybe relatet to #10934 too?

Could be.

@danxuliu @skjnldsv @juliushaertl @ChristophWurst Any idea why the share permissions can't be changed?

MorrisJobke avatar Oct 25 '18 08:10 MorrisJobke