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>
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
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
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
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
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
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
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
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
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
--~--~-~--~~~---~
10 matches
Mail list logo