2010/1/5 datta <dattatrey...@gmail.com>: > Hi, > > Is there a setting/module that helps me to achieve data level access > control in a web application.
There are a number of projects that are looking at row-level access control: http://nomadblue.com/blog/django/django-rbac/ http://opensource.washingtontimes.com/projects/objectpermissions/ You can enforce this through use of managers though, so say you had a leads model, you could have a leadManager that only ever got leads for the current logged in user. HTH Dan > > For example, if I have a sales app, the leads created by one user > should not be visible to the other. Also, I should be able to create > sales hierarchies ( agents attached to managers, managers reporting to > VP;s and VP;s managing sub-organizations in a organization). If anyone > of you is familiar with 'siebel' access control module, this > functionality is implemented there. > > I know that one can achieve all of this programmatically, but if there > is an app or a setting that helps me do this, that will be great. I am > not sure if Pinax is planning to provide a similar functionality in > one of its 'base' projects. > > Thanks! > Datta > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > > > -- Dan Hilton ============================ www.twitter.com/danhilton www.DanHilton.co.uk ============================
-- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.