You can assign django groups from user model as department and give special
permission to that group

On Sun 19 Jan, 2020, 3:04 PM Doddahulugappa.B, <doddahuluga...@gmail.com>
wrote:

> Hi team,
>
> How to make role based access in django. For ex.
>
> If employee names and their department in one table.
>
>  And also we assign department to user. With manytomany field.. So how can
> i display only the records of employees and their department which is
> assigned to the user.
>
> Kindly help..
>
> --
> 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 django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAKfjjGpT_xeQaRqySC4SX_v2-aVOb7u5%2B9qoPhByQ8Wq2DM4ow%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAKfjjGpT_xeQaRqySC4SX_v2-aVOb7u5%2B9qoPhByQ8Wq2DM4ow%40mail.gmail.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 django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKroR%2B2Fzzfm3ppRQTTvTw913%3DcAGLUcS%2BTyL_JXVXTz7gO_9w%40mail.gmail.com.

Reply via email to