phpSPO
phpSPO copied to clipboard
Get Permissions for folder
How can I get permissions for a specific folder? for example, to check whether a user can upload file to this folder or not.
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
.