Can you provide your Views code? By the way, if you are using DRF, you can use the "permission classes" or "permission decorators". Best regards.
On Sat, 1 Apr 2023, 7:53 p.m. Daisi Caroline, <[email protected]> wrote: > Hello friends i am doing a django project and i am stack on roles and > permissions.This is what i am supposed to do. > > I am supposed to do the roles and permissions. > So I have done the roles but now permissions is the problem. > For example the organisation admin and the local admin when logged into > the system they are supposed to see the dashboard. > Security personnel is supposed to only validate the invites. > Staff resident and Portal user are only supposed to create invites. > But in my case all of them when logged in are seeing the dashboard. > > Anyone who can help in this please.we can connect. > > Regards, > Daisi Caroline. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/13ea8217-134d-4b6b-b7f9-1b79517748d3n%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/13ea8217-134d-4b6b-b7f9-1b79517748d3n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAOzVPC82d93bVk1V9BGKtpHvUTSaBiQaoHVFod1H7Oc2Rovryg%40mail.gmail.com.

