chefsmart wrote: > Is there a way to allow only superusers to login to and use the admin > section? Users with is_staff = True do exist and that can't be changed > because this app is in use and makes use of is_staff in some other > way.
I believe so. Create a group (say no_admin?) with no permissions and put each of your is_staff=True users into that group. At the same time remove all their personally assigned permissions. Should do the trick. I would create a test user and try it out to ensure things still work properly. Mike > > Can this be achieved without changing the code in contrib.admin or > contrib.auth? > > -- > > 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. > > > > -- 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.