Package org.xwiki.configuration
Interface ConfigurationSourceAuthorization
-
@Role public interface ConfigurationSourceAuthorization
Provides authorization for a givenConfigurationSource
.- Since:
- 12.4RC1
- Version:
- $Id: 912fc760dfeedd6a5a085560267942d341d90832 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
hasAccess(String key, UserReference userReference, ConfigurationRight right)
-
-
-
Method Detail
-
hasAccess
boolean hasAccess(String key, UserReference userReference, ConfigurationRight right)
- 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)
-
-