[Building Sakai] Resources>permissions visible only to !admin users, but nobody else?

will trillich will.trillich at serensoft.com
Thu Oct 28 14:28:58 PDT 2010


In Sakai 2.6.x --

As any !admin user (being in the !admin realm) we can see all the
Resources>Permissions info.

As any non-!admin user, regardless of role (even the 'maintain' role) the
Resources>Permissions frame comes up completely blank.

There doesn't seem to be much in the logs -- here you can see I switch from
y !admin-savvy user, to user "gonzo" who's in the 'maintain' role of the
worksite and... as gonzo, the resource-permissions screen is completely
blank:

2010-10-28 17:16:12,419  INFO http-80-Processor57
org.sakaiproject.tool.su.SuTool - [SuTool] Username will becoming gonzo
2010-10-28 17:16:14,966  WARN http-80-Processor57
org.hibernate.engine.loading.LoadContexts - fail-safe cleanup (collections)
:
org.hibernate.engine.loading.CollectionLoadContext at 38eb0184<rs=org.apache.commons.dbcp.DelegatingResultSet at 603dd548<org.hibernate.engine.loading.CollectionLoadContext at 38eb0184%3Crs=org.apache.commons.dbcp.DelegatingResultSet at 603dd548>
>
2010-10-28 17:16:14,966  WARN http-80-Processor57
org.hibernate.engine.loading.LoadContexts - fail-safe cleanup (collections)
:
org.hibernate.engine.loading.CollectionLoadContext at 4cb09e4d<rs=org.apache.commons.dbcp.DelegatingResultSet at 5ee6a45b<org.hibernate.engine.loading.CollectionLoadContext at 4cb09e4d%3Crs=org.apache.commons.dbcp.DelegatingResultSet at 5ee6a45b>
>
2010-10-28 17:16:42,404  WARN http-80-Processor75
org.sakaiproject.authz.tool.PermissionsAction -
PermissionsAction.buildHelperContext: no permission:
/site/feeb86a9-7ba7-4891-9908-244f38ce1a55
2010-10-28 17:16:42,404  INFO http-80-Processor75
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/sakai-authz-tool]
- sakai.vm: Exception reading vm template:
/vm/helper/chef_permissions-Main.vm
org.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource '/vm/helper/chef_permissions-Main.vm'

The maintain role of the worksite has all "content.*" permissions set to ON.
So there's something else interfering...

So, !admin users CAN see the set-resource-permissions interface, but mortals
see blankness. Ideas?

-- 
Failure is not important. How you overcome it, is.
-- Nick Vujicic
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20101028/ec2e9f2c/attachment.html 


More information about the sakai-dev mailing list