Denying user permission in Django -


i have short question - there way deny given permission ?

i have 2 cases i'll want use feature:

1, have user in particular group, has regular permissions, want (temporary) remove permissions group - "add" keep rest of them untouched (edit, delete,.. )

2, same group above, has permissions 4 custom apps, want "ban" user 1 of them, , leave 3 untouched

so no think simple denying feature proper way , keep easy maintain in future (no need have multiple groups etc) or maybe can guide me different , smarter way solve problem?

thanks in advance reply.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -