I want to give different usergroups access to the Admin portion of my Django site and control which fields they are able to access. I plan on doing this with a custom ModelAdmin
object that decides what to add to the fieldsets
property based on the current user's group memberships.
- Is this secure (i.e., if a field is not displayed, and the admin uses firebug or something to change the form, will Django stop it)?
- Is this the best way to go about doing this?