Hi, Ivan! 

> I am using the default root user for now.  I have set the 
> permissions in domain.xml to accept everything:
> 
>                 <objectnode
> classname="org.apache.slide.structure.SubjectNode" uri="/files">
>                     <revision>
>                         <property
> name="resourcetype"><![CDATA[<collection/>]]></property>
>                     </revision>
> 
>                     <!--permission action="all"
> subject="unauthenticated" inheritable="true"/>
>                     <permission action="/actions/write" subject="all"
> inheritable="true"/>
>                     <permission action="/actions/read-acl"
> subject="owner" inheritable="true"/-->
>                 </objectnode>
> 
> The code is quite simple, yet I cannot find a way around the 
> errors.  I am assuming it is a simply a permission problem.  
> Any ideas?

Looks like the pemissions are commented out. If you actually authenticate
users, you shouldn't specify "unauthenticated" as a subject - try something
like this:

            <objectnode classname="org.apache.slide.structure.SubjectNode"
uri="/">
                <!-- Subject can be:
                any user             "all"
                authenticated user   "authenticated"
                unauthenticated user "unauthenticated"
                self                 "self"
                owner of resource    "owner"
                a user               "/users/john"
                 a role               "/roles/admin"
                -->
                <permission action="all" subject="all" inheritable="true"/>
            ...
        </objectnode>

Hope it helps.

Yours sincerely,
Andrey.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to