Feature request for django permissions

2021-06-12 Thread wael muhammed
I have a projects with multi branches . I want to make permissions according to branch record. I couldn't add customize django permissions model to make foreign key from branch model. Look here <https://stackoverflow.com/questions/67946118/django-permissions-according-to-branch-id>

Re: Django permissions framework vs DRF permissions

2019-05-18 Thread Aldian Fazrihady
Hi, based on my experience, I can create DRF permission based on HTTP methods. Django permissions by default are tightly related to ORM models. DRF permission can be totally unrelated to ORM models. Regards, Aldian Fazrihady On Sat, 18 May 2019, 16:13 Rounak Jain, wrote: > Newbie here

Django permissions framework vs DRF permissions

2019-05-18 Thread Rounak Jain
Newbie here. I want to create hierarchical permissions in Django, very similar to one described here: https://stackoverflow.com/questions/49300215/django-hierarchy-permissions I have read about Django permissions framework and https://github.com/vintasoftware/django-role-permissions I don&#

Django Permissions

2017-03-06 Thread Jim Lamb
I am trying to give add to the django permissions when you add a Type to a Source with the following models.py I would like it to be from __future__ import unicode_literals from django.db import models """Class for Data Sources""" class Source(m

Django Permissions

2017-03-06 Thread Jim Lamb
I am trying to add django permissions when a type add a source iusing the following model from __future__ import unicode_literals from django.db import models """Class for Data Sources""" class DataSource(models.Model): display_name = models.CharFiel

Django Permissions: How to make extended User only to update and view profile?

2016-03-12 Thread Sanchit Balchandani
I'm trying to write custom permissions for the extended user which I created so that it should only be allowed to see(retrieve) the user profile and update it. However with my current code, it is not allowing User to see it's profile. I've just started with Django and not able to come up with a

Re: Any way to not create default Django permissions?

2012-01-18 Thread Stodge
Awesome - thanks for the description. On Jan 18, 9:45 am, Tom Evans wrote: > On Wed, Jan 18, 2012 at 1:50 PM, Stodge wrote: > > I have a particular use case where the default permissions don't work > > for me. I know I can create a custom auth backend, but if I do that, > > is there a clean, leg

Re: Any way to not create default Django permissions?

2012-01-18 Thread Tom Evans
On Wed, Jan 18, 2012 at 1:50 PM, Stodge wrote: > I have a particular use case where the default permissions don't work > for me. I know I can create a custom auth backend, but if I do that, > is there a clean, legal way to not create the default model > permissions? Thanks > If you have the djang

Any way to not create default Django permissions?

2012-01-18 Thread Stodge
I have a particular use case where the default permissions don't work for me. I know I can create a custom auth backend, but if I do that, is there a clean, legal way to not create the default model permissions? Thanks -- You received this message because you are subscribed to the Google Groups

Django Permissions: Disabling automatic creation of default permissions

2009-07-29 Thread Jashugan
Hi, I use custom permissions in my application and do not use the default permissions. How do I disable the automatic creation of the default permissions (i.e. when manage.py syncdb is called), while still enabling creation of custom permissions? TIA --~--~-~--~~~---~