Package org.xwiki.vfs
Interface VfsPermissionChecker
-
@Role public interface VfsPermissionChecker
Verify if the user has permissions to access the VFS asked. For example it would be dangerous to let a user access the File VFS where the XWiki instance is running.- Since:
- 7.4M2
- Version:
- $Id: 785a6a4fcefb173b46030b3795bddd8db15f1bf5 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
checkPermission(VfsResourceReference resourceReference)
-
-
-
Method Detail
-
checkPermission
void checkPermission(VfsResourceReference resourceReference) throws VfsException
- Parameters:
resourceReference
- the VFS path that the user wishes to access. This includes the VFS URI scheme.- Throws:
VfsException
- in case the permission is refused or any error happens when checking for permission
-
-