Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Resource Access Security 1.0.0
-
None
-
None
Description
Currently all methods:
- canReadValue
- canSetValue and
- canDeleteValue
always return false in ResourceAccessSecurityImpl. Although those methods are not used from the resource resolver or any resource provider they should be implemented based on information from the ResourceAccessGate.
At the same time the canCreate...Value(s) methods in the ResourceAccessGate need to be deprecated as there is no dedicated create method for a property in Sling Resource API (both creation and update use the same mechanism).
The canReadValue must also be evaluated before inside ResourceAccessSecurityImpl.getReadableResource() to only expose a subset of properties.