Maybe not the best and not the fastest, but it works:
https://github.com/owncloud/activity/blob/master/lib/fileshooks.php#L145-L146
+
https://github.com/owncloud/activity/blob/master/lib/fileshooks.php#L173-L205
Hope that helps
Am 03.03.2016 um 17:14 schrieb Devin Ceartas:
What is the best way to ask the system "who are the users who can read
this file?"? (not "what files can this user read?")
devin
--
contact info: https://nacredata.com/devin
• Amazing Tie-Dye Tee-shirts: https://www.icedyedesigns.com
• Art/Poetry/Environment: https://secure.extinctionwitness.org/support
• Support progressive climate politics:
https://secure.voteclimatepac.org/donate/
• Forest Protection in Ohio:
https://www.buckeyeforestcouncil.org/donate.php
_______________________________________________
Devel mailing list
Devel@owncloud.org
http://mailman.owncloud.org/mailman/listinfo/devel
_______________________________________________
Devel mailing list
Devel@owncloud.org
http://mailman.owncloud.org/mailman/listinfo/devel