jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Bocanegra (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-1743) Session.checkPermission: add_node and set_property evaluation are not handled differently
Date Fri, 19 Sep 2008 14:00:44 GMT
Session.checkPermission: add_node and set_property evaluation are not handled differently
-----------------------------------------------------------------------------------------

                 Key: JCR-1743
                 URL: https://issues.apache.org/jira/browse/JCR-1743
             Project: Jackrabbit
          Issue Type: Bug
    Affects Versions: core 1.4.5
            Reporter: Tobias Bocanegra
             Fix For: core 1.4.6


if the property does not exist yet, Session.checkPermission invokes an AccessManager.checkPermission(...
WRITE) for both cases. i.e. the access manager has no means for handle a "add_node" differently
from a "set_property" 

suggest to create a fake property id for the case where the property does not exist.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message