FarCry doesn't really have the architecture to support user-by-user permissions. When I've had to do it in the past I've done something like add a field to the pricelist (e.g. the profile objectid or a territory objectid) and build restrictions into the webskins based on whether that value matches the value in session.dmProfile.
Regarding extending dmProfile: it is possible to extend dmProfile directly. You would have to override it's edit webskins so that the extra fields show up in the edit form. But the advantage is that those fields would be automatically copied into the session scope when they login. Blair On Fri, Mar 20, 2009 at 11:10 AM, Chris Roth <[email protected]> wrote: > > As I work out some of the issues in my other posts regarding > permissions, I have one that will bubble up here shortly so I thought > I would get some ideas. > > I need ot create some users that are "Sales Reps". these are non- > employee outside sales reps. So un like most of my other users (Active > Directory), they will be stored in the default FarcyUD. > > These users will need some "permissions". > > 1. Access to a protected node (no problem there) > 2. Access to one or more of THREE pricelists (excell spreadsheets). > > So, heres my thinking so far. > > 1. Create a custom type "SalesRepProfile" that extends dmProfile to > hold some additional information (terriroties, etc.). > 2. Create a custom type "PriceLists" that extends dmFile so I can > apply object permissions on them > > 3. Create a new "role" called SaleRep that the users get assigned to > allowing me to protect thier special node. > > The question is what is the easiest way to allow view permissions on > the PriceLists? Will I need to create THREE Sales Rep Roles? This > scares me since I can see the sales dept adding more and more > pricelists which would require more roles, more user management. > > I havent played with webskin permissions, maybe that is the answer. > > Ideas? > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "farcry-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/farcry-dev?hl=en -~----------~----~----~----~------~----~------~--~---
