Not really. You're best bet is to handle this with custom types and joins (possibly by extending dmProfile). Deleting a generic role shouldn't break anything, but you should leave anonymous and sysadmin.
Blair On Mon, Nov 9, 2009 at 3:08 PM, Tomek Kott <[email protected]> wrote: > Hi folks, > > quick question: is there a way to dynamically create (and delete) roles > (not groups)? I have members which can throughout the course of an academic > year be assigned to a committee. Some specific committees have extra rights > to do things through FarCry. With FarCry, one needs a role assigned to a > specific committee. This role would hold one group (a specific committee). I > know how to dynamically assign membership for this group, so that's not the > problem. The problem is dynamically associating THIS YEARS group with THIS > YEARS role, having as minimal changes (read, none as far as possible) to the > security structure. > > This might be easy enough if I knew with 110% probability that committees > would be static. however, the number and names of committees might change > from year to year, and so I would prefer to have the roles be dynamic. > Furthermore, I cannot count on using say a cron job to execute a piece of > code once a year. > > Any thoughts on implementation, or is this rather outside the box? > > Maybe a couple simpler questions: > 1) is there any other method by which FarCry reads roles except from adding > them through FarCry (e.g., adding an external User Directory, you can > specify "Groups" dynamically) > 2) Is there a problem with deleting Roles, as opposed to deleting Users or > Permissions (neither of which I plan on doing) > > Tomek > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
