phpSPO icon indicating copy to clipboard operation
phpSPO copied to clipboard

Get Permissions for folder

Open Anatoliy-Gerasimov opened this issue 6 years ago • 1 comments

How can I get permissions for a specific folder? for example, to check whether a user can upload file to this folder or not.

Anatoliy-Gerasimov avatar Nov 23 '17 09:11 Anatoliy-Gerasimov

I think it does not work OOTB, at least when looking against SP 2013. You can fetch the effectiveBasePermissions (for the logged in user) from /_api/Web/getfolderbyserverrelativeurl('%2Ffoobar%2Fbacasable%2Ffoo%2Fbar')/ListItemAllFields/effectiveBasePermissions, however effectiveBasePermissions are not exposed when reading ListItemAllFields.

blizzz avatar May 03 '19 09:05 blizzz