17 Oct
2002
17 Oct
'02
7:37 p.m.
def getRolesInContext(self, obj): lrt = obj.acl_users # get nearest acl_users for obj (not really sure if this works ?) user = lrt.getUser ( self.getId(), self._getPassword() ) return user.getRoles()
Hmm, no, the user object is simply "self".
yes wrong question ;-) having the follow folder structure: /acl_users (LUF) /dir1/acl_users (LRT1) /dir2/acl_users (LRT2) if I access /dir1/index_html comes the user object from LRT1 or LUF ? I would expect LRT1. if I access /dir2/index_html comes the user object from LRT2 ? what if I access in /dir2/index_html aq_parent.dir1.index_html. Will the AUTHENTICATED_USER change ? will the user object come from LRT2 ? Dirk