Thursday, February 20, 2020

Re: Django User Roles and user relations

On Thu, Feb 20, 2020 at 5:53 PM Kirankumar <k.kirankumar476@gmail.com> wrote:
Hii All..

          I'm trying to give level roles like admin defaultly it is available and Manager group and normal user groups in my django aplication...

          Generally admin can fetch all the records created by all users..Now my requirement is the user which is in manager group can fetch their own records and his subordinate (normal) user's records...I have no idea to develop this scenario how to relate normal users to particular associate (Manager) user...
Looks like a One(Manager)-To-Many(Subordinates) Relationship would make sense here 

         Can anyone please help me out..Thanks in advance

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/18e43f77-8a33-4c7a-80ec-5151d10a5e96%40googlegroups.com.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAD%3DM5eTdaHwBxBd8BC_kyfB_JHjw%3D-u%2BZwXpQvrJ_ApRfvEZDg%40mail.gmail.com.

No comments:

Post a Comment