Permissions front end management in Django

170 views
Skip to first unread message

Eugene TUYIZERE

unread,
Jan 4, 2022, 6:00:36 AM1/4/22
to django...@googlegroups.com
Derar Team,

I have a django application and I want the admin to manage the permissions for different functions. This should be done in way way like below: 

image.png

by editing you can allow the user access,view, create, modify or delete the particular view.

How can I achieve this in django?

Regards, 
 Eugene


Muhammad Juwaini Abdul Rahman

unread,
Jan 4, 2022, 6:58:56 AM1/4/22
to django...@googlegroups.com
You can handle using conditions in template.

Or search for library for role based permission.

--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CABxpZHtCPtEFRbzy2sTWfYcHoFzm-N1Ycxy4Snb-k54vtQd8ag%40mail.gmail.com.

oneanplusgold

unread,
Jan 8, 2022, 10:05:06 AM1/8/22
to django...@googlegroups.com
Control alt delete to all coding problem!

On Jan 4, 2022, at 2:59 PM, Eugene TUYIZERE <eugenet...@gmail.com> wrote:

Derar Team,

I have a django application and I want the admin to manage the permissions for different functions. This should be done in way way like below: 

<image.png>

by editing you can allow the user access,view, create, modify or delete the particular view.

How can I achieve this in django?

Regards, 
 Eugene


Ry

unread,
May 4, 2022, 11:13:56 AM5/4/22
to Django users
I had the same challenge and ended up building a form to handle this. Once posted, I took care of setting the various conditions on the respective users in the veiew.
Reply all
Reply to author
Forward
0 new messages