The code to update object permissions is:
farBarnacle.updateRight(role=farRole.getID("anonymous"),permission=farPermission.getID("View"),object=?????,right=1)Make sure to call application.security.init() (initCache if you're on the bleeding edge) afterwards. This should probably be done everywhere else security is changed, but I still haven't gotten to it. l still haven't been able to reproduce the problem, which suggests there may be an extra twist to the problem. Caching, proxy, OS, DB corruption? If you do stumble on a clue please pass it on. Blair On Tue, May 12, 2009 at 4:17 AM, Chris Roth <[email protected]> wrote: > > Unfortunately, I have not be anble to successfully resolve the "GUI" > permissions admin isses I am having.. > > > http://groups.google.com/group/farcry-dev/browse_thread/thread/e59b44dc76d3eb56/7ba221171bfd15d5?lnk=gst&q=permissions > > http://bugs.farcrycms.org/browse/FC-1806 > > I need to enable anonymous view permissions on a dmnav under root > (adjacent to home), but I can not do it due to the bug in the gui. How > can I safely complete this task? > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry -~----------~----~----~----~------~----~------~--~---
