AnsweredAssumed Answered

How is alfresco 's authencation

Question asked by zengqingyi12 on May 23, 2009
i try to enter a folder, and i have set the folder's permission to everyone:collaborator.
but i get such a exception:

http://192.168.7.50:8080/share/page/site/DepA/documentlibrary#path=/Active%20Workflows/cccs&page=1
04230096 Wrapped Exception (with status template): 04230095 Failed to execute script '/org/alfresco/slingshot/documentlibrary/doclist.get.js (in classpath store file:D:/EPM2/trunk/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts)': 04230094 Access Denied. You do not have the appropriate permissions to perform this operation.

JavaException: org.alfresco.repo.security.permissions.AccessDeniedException: 04230087 Access Denied. You do not have the appropriate permissions to perform this operation.
but the same thing i have done upon file, it is OK.
Who can tell me why ?
I use alfresco preview.
Thanks in advance.


Right now i debugged that it is because siteService.getSite() do not have permission, but when i track into siteservice class, I didn't see any permission check code.
where is the permission check code ? how is alfresco config them ??? use aspect ?
Thank you very much ~

Outcomes