You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by KeyEvent <ke...@yahoo.com.cn> on 2004/05/25 05:28:28 UTC
Created user can not access folders
I created an user called keyevent@yahoo.com.cn as an root user with content.create() method (not with client tool). This account seems to be available in users.def.xml and /roles/root.def.xml, /users/keyevent@yahoo.com. But an access denied exception occured when I try to access the /files folder:
//here throws the exception
object = structure.retrieve(slideToken, resourcePath);
slideToken owns the CredentialsToken of keyevent@yahoo.com.cn principal. The node setting for /files is:
<objectnode classname="org.apache.slide.structure.SubjectNode" uri="/files">
<permission action="all" subject="unauthenticated" inheritable="false"/>
<permission action="/actions/write" subject="/roles/user" inheritable="false"/>
<permission action="/actions/read-acl" subject="owner" inheritable="false"/>
Any clue will be appreciated, thanks in advance.
Btw: is there any API can create the user directly?
Regards
---------------------------------
Do You Yahoo!?
嫌邮箱太小?雅虎电邮自助扩容!