I have a site with many users. They can edit their own content/pages. How would that be set up in weceem? I'm already using acegi on grails 1.2 in production. I just want to replace the current micro-site generator with weceem.
Would I insert the uri of the space to the acegi table request_map ? Could it be that easy?
Joined: 04/06/2009 13:36:35
Messages: 303
Location: UK
Offline
Hi,
Weceem 0.8 has a security policy where you define what roles users must have to access resources with various permissions. I would recommend this.
If you're using the out-of-the-box Weceem WAR file then you having nothing to do except maybe define some new roles for those users so you can set permissions in the policy by user. Is it true user specific content or "group" specific content?
If it's user specific content, you need to nothing except add info to the security policy using the default roles created by weceem for each unique user of the form USER_xxxx so "tim" would have role USER_tim.
I'm using the plugin as I need to integrate cms into the current system. I also need to map the current user/groups to the current policy. I'll try to adapt it today and post findings here.
Yeah ... getting cache errors on integrating with a branch of my main app.
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationManager': Cannot resolve reference to bean 'daoAuthenticationProvider' while setting bean property 'providers' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daoAuthenticationProvider': Cannot resolve reference to bean 'userCache' while setting bean property 'userCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userCache': Cannot resolve reference to bean 'securityUserCache' while setting bean property 'cache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityUserCache': Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: userCacheCache: Could not create disk store. Initial cause was userCache Cache: Could not create disk store. This CacheManager configuration does not allow creation of DiskStores. If you wish to create DiskStores, please configure a diskStore path.
Can you make 'admin' optionally configurable in WeceemPluginUrlMappings.groovy? Who new admin would be so popular. Also, from a security standpoint having it configurable makes it harder to have canned exploits.
Joined: 04/06/2009 13:36:35
Messages: 303
Location: UK
Offline
The trunk of SVN (which is experimental at the moment) has configuration for the /admin and the / url mappings, so you can remap them to /whatever/admin-the-cms and /cms-content-here/ etc
This will be in the 0.9 release, hopefully in a few weeks - but if you want you can try svn trunk.
Is there a way to specify/create templates without using the in browser editor? e.g. weceem/templates then select that template in a drop down? The dev cycle for a template seems overly long.