On Thu, Apr 10, 2008 at 9:59 PM, Florent Guillaume <[EMAIL PROTECTED]> wrote:
> On 8 Apr 2008, at 17:08, Romain FERE wrote:
>
> > - When I add a new user, if I don't include him in the group "members",
> > I can't browse my Workspace and the first page after login is the
> > dashboard... I think it's a permission problem but I don't find how to fix
> > this...
> >
>
> It's on purpose. The group "members" has read access to the workspaces by
> default. A user that is in no group has no read access unless that user has
> been given specific rights.
>
My user is already in a group who have READ and BROWSE permissions on my
"Workspace" document and the permissions are inherited... Do I have to put
the permission on the "Root" document ? Or is it possible I forgot another
thing ?
- I want to be sure my java code have no restrictions so I've adding this to
> my code :
> LoginContext lc = Framework.login();
> //MY JAVA CODE
> lc.logout();
> Can you confirm me this is the good way to do this ?
>
Yes, this gives unrestricted acces. But you should use:
> LoginContext lc = Framework.login();
> try {
> //MY JAVA CODE
> } finally {
> lc.logout();
> }
>
> Florent
Ok thanks a lot !!!
--
> Florent Guillaume, Director of R&D, Nuxeo
> Open Source Enterprise Content Management (ECM)
> http://www.nuxeo.com http://www.nuxeo.org +33 1 40 33 79 87
>
--
Romain FERE
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm