I'd like to be able to give some existing Users a custom permission which I will require for accessing a view.
I think I need to add the new permission to the Postgres table auth_permission
, but I suspect there is a higher-level way to do this. Also there is a column in auth_permission
for content_type
and I don't know what its value should be.
What is the right way to do this?