ion
ion copied to clipboard
User/group permissions
Django-level permissions don't seem to work.
is this still an issue?
@jwoglom do you have an example of where this doesn't work?
@ovkulkarni This definitely had to do with django permissions https://docs.djangoproject.com/en/2.1/topics/auth/default/#permissions-and-authorization
Judging by the time I opened this issue and from what I can remember, I think the original reason for opening this issue related to parking admins, who we might've given access to the Django admin interface in order to view parking info. I recall not being able to give a staff user specific permissions to only the parking parts of the interface, or something of that nature, because we weren't respecting the django permission objects. Might have also had to do with needing to give them both django staff privileges on their user (so they could view the parking interface) AND admin_parking which we had to create but we couldn't just give them explicit CRUD permissions on the Parking model through permission objects, they had to also be in admin_[name of module] and our code only checked the group membership in admin_*.