You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
as user1 disable "Automatically accept new incoming local user shares"
share a folder with group1
Expected behaviour
user1 should not automatically receive the share
Actual behaviour
user1 received the share
Client configuration
Browser:
Operating system:
Logs
ownCloud log (data/owncloud.log)
{"reqId":"MNZ2NNCqWxgYDbg9wRaL","level":3,"time":"2019-03-07T10:52:20+00:00","remoteAddr":"127.0.0.1","user":"admin","app":"PHP","method":"GET","url":"\/owncloud-core\/ocs\/v1.php\/apps\/files_sharing\/api\/v1\/sharees?format=json&search=g1&perPage=200&itemType=folder","message":"Invalid argument supplied for foreach() at \/home\/artur\/www\/owncloud-core\/apps\/files_sharing\/lib\/SharingBlacklist.php#96"}
{"reqId":"EXA9df4mDerSVuIDeiod","level":3,"time":"2019-03-07T10:52:27+00:00","remoteAddr":"127.0.0.1","user":"admin","app":"PHP","method":"POST","url":"\/owncloud-core\/ocs\/v2.php\/apps\/files_sharing\/api\/v1\/shares?format=json","message":"Invalid argument supplied for foreach() at \/home\/artur\/www\/owncloud-core\/apps\/files_sharing\/lib\/SharingBlacklist.php#96"}
The text was updated successfully, but these errors were encountered:
Possibly related issues are #6167 (Sharing with a group), #8565 (Hidden "Share with user or group …"), #19153 (User Can Accept Shares from Other Users), #4435 (Accept incoming shares), and #31613 ([stable10] Accept user share stable10).
I investigated the issue. As far as I see, there is no explicit share state definition for the per user in group shares. Somehow, we need to add state definition for the per user in the group shares to fix this issue.
I could not find a quick fix with the current architecture.
Steps to reproduce
Expected behaviour
user1 should not automatically receive the share
Actual behaviour
user1 received the share
Client configuration
Browser:
Operating system:
Logs
ownCloud log (data/owncloud.log)
The text was updated successfully, but these errors were encountered: