OpenEdit Developer ForumWelcome to the OpenEdit User Forum. You must be registered and logged in to post a new comment or topic. This forum is only for developers who want to discuss the technical aspects of the OpenEdit Framework. For end user technical support please visit the EnterMedia web site. Permission issuesHello, I am trying to define view/edit permission between groups. I have a group called "testgroup". The members of "testgroup" has view/edit right to only one folder "/testfolder" but not any thing else. They also use File Manager. How can you do that with Open Edit? I have tried to make that behavior on OpenEdit Sandbox (http://demo.openedit.org/sandbox/). It has testgroup and testuser and test_folder (http://demo.openedit.org/sandbox/test_folder/). I want to have view/edit access to testgroup only on "test_folder" not other files and folder. So when they login, they only can see folder "test_folder" in File Manager. I have added following configuration to _site.xconf but didn't help.
<view-requirements>
<and>
<not>
<group name="testgroup1"/>
</not>
<or>
<group name="administrators"/>
<group name="editors"/>
</or>
</and>
</view-requirements>
<edit-requirements>
<and>
<permission name="oe.edit"/>
<not>
<page-property equals="false" name="editable"/>
</not>
<not>
<group name="testgroup1"/>
</not>
<or>
<group name="administrators"/>
<group name="editors"/>
</or>
</and>
</edit-requirements>
testuser still can modify index.html. What do you think where things are going wrong? Thanks.
Regards, Posted by Dhaval Patel Fri, Sep 5 2008 9:59 AM
|
Most Recent Posts
encodings ...
(4 comments)
Slamdance
(7 comments)
Help upgrading jars on starter war
(6 comments)
Help, Velocity Generator not initializing
(4 comments)
Multiple Main Sites
(10 comments)
Search filtering by theme
(3 comments)
xml version "s1.0" error
(4 comments)
How can i localization the openedit?
(3 comments)
Problem with the interface
(4 comments)
latest openedit-editor build
(2 comments) Archive
Log in
Syndicate:
|
Copyright 2008 OpenEdit Inc. All rights reserved. last modified: Sep 05 2008

Not sure, Maybe try using the new syntax:
<permission name="view">
<permission name="edit">
For just a year, the Five Finger Shoes has become one of the most popular models for men. Featuring a thin, abrasion-resistant stretch nylon and breathable mesh upper that wraps your entire forefoot to "Keep Stuff Out." A single hook-and-loop closure helps secure the fit. A non-marking 3.5mm Vibram TC1 performance rubber sole is razor-siped for a sure grip, and a 2mm EVA midsole enhances plating protection and comfort.Best Five Finger Shoes sale here!