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

Robert Munteanu commented on OAK-6540:
--------------------------------------

[~anchela] - thanks for the quick reply. Do you see a way of surfacing this 
read-only status from the POV of the security component? I'd like to avoid 
binding clients to the {{spi.mount}} package.

> Session.hasAccess(...) should reflect read-only status of mounts
> ----------------------------------------------------------------
>
>                 Key: OAK-6540
>                 URL: https://issues.apache.org/jira/browse/OAK-6540
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: composite, security
>            Reporter: Robert Munteanu
>             Fix For: 1.8, 1.7.6
>
>
> When a mount is set in read-only mode callers that check 
> {{Session.hasPermission("set_property", ...)}} or 
> {{Session.hasPermission("add_node", ...)}} for mounted paths will believe 
> that they are able to write under those paths. For a composite setup with a 
> read-only mount this should (IMO) reflect that callers are not able to write, 
> taking into account the mount information on top of the ACEs.
> [~anchela], [~stillalex] - WDYT?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to