Package org.xwiki.configuration
Interface ConfigurationSourceAuthorization
@Role
public interface ConfigurationSourceAuthorization
Provides authorization for a given
ConfigurationSource.- Since:
- 12.4RC1
- Version:
- $Id: 912fc760dfeedd6a5a085560267942d341d90832 $
-
Method Summary
Modifier and TypeMethodDescriptionbooleanhasAccess(String key, UserReference userReference, ConfigurationRight right)
-
Method Details
-
hasAccess
- Parameters:
key- the key for which to check the access right foruserReference- the reference to the user to check for permissionsright- the right to check (e.g.AccessRight.READ)- Returns:
- true if the property can be accessed for the passed right (e.g. READ or WRITE)
-