[ 
https://issues.apache.org/jira/browse/SLING-2698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13592380#comment-13592380
 ] 

Carsten Ziegeler commented on SLING-2698:
-----------------------------------------

Thanks Mike for the first implementation, I think from an API pov (sling api) 
this is fine - however we might move this into a separate package as this 
service is implemented by different bundles as a resource resolver or a 
resource provider. We currently have the problem, when changing the resource 
resolver interface, the package version increases and we have to rerelease all 
resource provider implementations as that interface happens to be in the same 
package. We can't change this for old stuff, but we can account for this with 
new interfaces.

It's good that this has no impact if no ResourcAccessGate is registered - I'm 
not sure about regexps either, but if they turn out to be a performance 
problem, I guess this is solvable later on.

While it would be nice to have the implementation in a separate package, I 
think we shouldn't add hooks all over the place into the resource resolver 
implementation. This would open up a can of worms.

I'm wondering if we could find some tricky way of wrapping the current resource 
resolver with an AccessGateAware resource resolver? (or actually it's the 
factory we have to wrap)
                
> Add a minimal resource access gate
> ----------------------------------
>
>                 Key: SLING-2698
>                 URL: https://issues.apache.org/jira/browse/SLING-2698
>             Project: Sling
>          Issue Type: New Feature
>          Components: ResourceResolver
>            Reporter: Mike Müller
>            Assignee: Mike Müller
>             Fix For: Resource Resolver 1.1.0
>
>
> Adding a minmal resource access gate as discussed in [1].
> First step is to define the API interface and a minimal implementation which 
> allows to define READ access (rest of CRUD can follow later)
> [1] http://markmail.org/thread/4ctczoiy533tquyl

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to