Check if current user has a permission on a folder.
Namespace: Authorit.API.Services
Parameters
folderId - ID of folder to check permissions on.
checkPermissions - Permissions to check for.
Returns
true if user has permissions, false otherwise.