Open 13hannes11 opened 4 years ago
I fix that with a triger on my database:
CREATE DEFINER=***
@localhost
TRIGGER oc_share_before_insert
BEFORE INSERT ON oc_share
FOR EACH ROW BEGIN
IF NEW.share_type = 1 THEN
SET NEW.accepted = 1;
END IF;
END
If I login as a new user (who is stored in the sql backend), shared folders that are shared to my groups are not automatically accepted.
It only occurs for users that stem from the sql backend not for ordinary nextcloud users.