public JcrVersionCmsEditable(Node node) throws RepositoryException {
this.nodePath = node.getPath();
if (node.getSession().hasPermission(node.getPath(),
- Session.ACTION_ADD_NODE)) {
+ Session.ACTION_SET_PROPERTY)) {
+ // was Session.ACTION_ADD_NODE
canEdit = true;
if (!node.isNodeType(NodeType.MIX_VERSIONABLE)) {
node.addMixin(NodeType.MIX_VERSIONABLE);