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.

- 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

--
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



_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to