*Description*: After renaming the model from "Group" to "CollegeGroup" in
my Django project, duplicate permissions are being created for the renamed
model. This results in two sets of permissions with the same functionality,
one set with codenames like "add_group"
d
> permissions.This is what i am supposed to do.
>
> I am supposed to do the roles and permissions.
> So I have done the roles but now permissions is the problem.
> For example the organisation admin and the local admin when logged into
> the system they are supposed to see the dashb
Hello friends i am doing a django project and i am stack on roles and
permissions.This is what i am supposed to do.
I am supposed to do the roles and permissions.
So I have done the roles but now permissions is the problem.
For example the organisation admin and the local admin when logged into
;
> On Jan 4, 2022, at 2:59 PM, Eugene TUYIZERE 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:
>
>
>
> by editing you can allow the user a
Control alt delete to all coding problem!
> On Jan 4, 2022, at 2:59 PM, Eugene TUYIZERE 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:
>
>
You can handle using conditions in template.
Or search for library for role based permission.
On Tue, 4 Jan 2022 at 19:00, Eugene TUYIZERE
wrote:
> Derar Team,
>
> I have a django application and I want the admin to manage the permissions
> for different functions. This should be
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: image.png]
by editing you can allow the user access,view, create, modify or delete the
particular view.
How can I achieve this in
Hi,
My previous email did not include link to the demo project. Please find the
demo project here: https://github.com/pandafy/inline_view_only.
Thanks,
Gagan Deep
On Saturday, January 1, 2022 at 10:15:21 PM UTC+5:30
the.one.abo...@gmail.com wrote:
> Hello everyone!
>
> I have created a de
Hello everyone!
I have created a demo project to convey my use case programmatically. Here
is a brief description of the project.
The Django project contains an application "home" that has four models:
Device, Location, FloorPlan and DeviceLocation. DeviceLocation is a
thorough model that con
Please can someone help me to install Django ? On windows i'm having
trouble with the installation.
Le 24 nov. 2021 23:34, "Mike Dewhirst" a écrit :
> Do you think this is a consequence of permission complexity?
>
> I have instinctively avoided individual permissio
Do you think this is a consequence of permission complexity?I have
instinctively avoided individual permissions for purely management reasons and
stuck to user membership of auth groups (roles) and given permissions
exclusively to groups.That postpones lookups to when they are needed.I can
Hi All -
Running Django 2.2.24 (Yes, I know, we are working on moving to 3.2)
I've noticed some stalls in startup and finally have tracked it down. It
appears when permissions are imported, it checks EVERY user for
permissions, NOT just the ones in the user_user_permissions table.
https://docs.djangoproject.com/en/3.2/topics/auth/default/#permissions-and-authorization
On Tue, 7 Sept 2021 at 18:42, Ssentumbwe Enoch
wrote:
> I want to design a factory management application but I need some guidance
> roles permissions.
> I want to divide the floor into sections
Hello Enoch.
Have you considered using permissions on this, i think it is the best way
to implement this functionality.
You implement this on the views by checking if the user is authorized to
access the view in this case the edit function.
On Tue, 7 Sept 2021 at 16:12, Ssentumbwe Enoch
wrote
I want to design a factory management application but I need some guidance
roles permissions.
I want to divide the floor into sections whereby a supervisor in section A
can review and edit section A's functions without having rights to edit
section B's functions. He or she can view
Sorry, this is the link:
https://testdriven.io/blog/drf-permissions/#drf-permissions
On Sun, Aug 15, 2021 at 6:26 AM Lalit Suthar
wrote:
> https://www.django-rest-framework.org/api-guide/permissions/
>
> On Sat, 14 Aug 2021 at 04:35, Mike Dewhirst wrote:
>
>> Have you looked
https://www.django-rest-framework.org/api-guide/permissions/
On Sat, 14 Aug 2021 at 04:35, Mike Dewhirst wrote:
> Have you looked at ...
>
> https://simpleisbetterthancomplex.com/tutorial/2018/01/18/how-to-implement-multiple-user-types-with-django.html
>
>
>
>
> --
permissions I want develop
Custom Roles And Permission Any one guide me
--
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...@google
I find this article (and the succeeding 2 articles in the post thread) is a
great resource for how to manage roles and permissions with DRF.
On Fri, Aug 13, 2021 at 3:28 PM Amit Vaghani wrote:
> I want develop Custom Roles And Permission
> Any one guide me
>
> --
> You receiv
I want develop Custom Roles And Permission
Any one guide me
--
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
trimmed a lot of stuff but that is because it is
exactly the same between the two models.
What could be causing this one model admin to have a permissions issue?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this
; Did any one understands what I mean
> ?
> في السبت، 12 يونيو 2021 في تمام الساعة 3:43:09 م UTC+3، كتب wael
> muhammed رسالة نصها:
>
>>
>> I want to make permissions according branch id
>> for more details
>> <https://stackoverflow.com/questions/67
Did any one understands what I mean
?
في السبت، 12 يونيو 2021 في تمام الساعة 3:43:09 م UTC+3، كتب wael
muhammed رسالة نصها:
>
> I want to make permissions according branch id
> for more details
> <https://stackoverflow.com/questions/67946118/django-permissions-accordi
I want to make permissions according branch id
for more details
<https://stackoverflow.com/questions/67946118/django-permissions-according-to-branch-id>
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from thi
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>
Hey Kasper-
Many thanks! Tried your suggestion and it works.
Does this mean that my specific git configuration is such that the 'git'
URL will not work? If so, it is possible that
https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/working-with-git/
could be updated to s
Hi Chris,
On 31/10/2020 17.02, Christopher Keith wrote:
Folks -
I am following the instructions from
https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/working-with-git/
.
However, when I try to 'git fetch' the source repo, I get 'Permission
denied'
PS C:\Users\chr
pstream
g...@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I have tried this on Linux Mint also, and get the same error. Do I need to
be added to some permissions list?
Thanks
.CharField(max_length=255)
class License(models.Model):
name = models.CharField(max_length=255)
permissions = models.ManyToManyField(CustomPermissions)
...
class User(AbstractBaseUser):
license = models.ForeignKey(License, on_delete=models.CASCADE)
...
This works fine i
Hello,
I'm implementing one basic and one advanced Django 3.0 admin site.
How can I enforce differenciated permissions for them ?
I thought about:
1. Dedicating advanced admin site to Superuser, leaving basic admin site to
Superuser or Staff members
2. Leaving advanced admin site to Supe
Hi all,
I'm building an application that uses Django Rest Framework and Django
Guardian. I have to implement a permissions system such that when a user
requests data from a materialized view, I need to omit certain rows from
the returned queryset based on the user's group.
For exam
So kind of you George. It worked for me in examples and thanks for adding
Python code example search engine.
You really made my life easier. :-)
Regards,
Shazia
On Thu, Sep 26, 2019 at 4:39 AM George Tantiras wrote:
> Repositories using django-rules:
>
>
> https://github.com/dfunckt/django-rul
Repositories using django-rules: https://github.com/dfunckt/django-rules/network/dependents?dependent_type=REPOSITORY Packages using django-rules: https://github.com/dfunckt/django-rules/network/dependents?dependent_type=PACKAGE Search engine for python code examples: https://www.programcreek.com/p
I just needed a working example of added permissions system in a project I
can run.
Django-rules is good and I've tried it in my test-project. I was hoping a
project with bunch of user types and assigned permissions hardcoded.
I know I can do things from default admin dashboard.
Regards,
S
I would recommend django-rules:
https://github.com/dfunckt/django-rules
--
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.
What do you need to clarify regarding this document
https://docs.djangoproject.com/en/2.2/topics/auth/default/#the-permission-required-decorator
?
On Wed, Sep 25, 2019 at 9:03 PM Shazia Nusrat wrote:
> Hi,
>
> I need help to understand implementation of multiple user roles and
> pe
On Wed, Sep 25, 2019 at 8:03 PM Shazia Nusrat wrote:
> Hi,
>
> I need help to understand implementation of multiple user roles and
> permissions on views/templates/objects. If someone can point me to really
> nice project at GitHub I will be really thankful. I couldn'
Hi,
I need help to understand implementation of multiple user roles and
permissions on views/templates/objects. If someone can point me to really
nice project at GitHub I will be really thankful. I couldn't find one so
far.
Regards,
Shazia
--
You received this message because yo
dei
Thanks,
with regrads
Micheal.
On Tue, Sep 10, 2019 at 5:20 PM siva.gatti wrote:
> Hi,
>
> class UserViewSet(viewsets.ModelViewSet):
> permission_classes = [IsAuthenticated]
> queryset = Documents.objects.all()
> serializer_class = DocumentSerializer
>
> this is my viewset. I wan
Hi,
class UserViewSet(viewsets.ModelViewSet):
permission_classes = [IsAuthenticated]
queryset = Documents.objects.all()
serializer_class = DocumentSerializer
this is my viewset. I want to allow users for post method without
authentication how can i add allowed methods here.with authe
In DRF, only AllowAny permission is working.
My Views.py
class generate_course(APIView) :
.
.
.
permission_classes = (IsAuthenticated,)
authentication_classes = (JSONWebTokenAuthentication,)
def post ( self, request) :
..
-template-permissions-not-working-when-used-inside-the-template-of-an-incl
I have 2 apps in a Django Project i am using to learn django. In the app
A I have an inclusion tag where I am using a template named
templateA.html. This inclusion tag is being used in the app B, inside
the template templateB.html
We use django groups for that. So we give groupnames like ALLOW_SOMETHING
and then in code and templates we do check if user has that group or not.
ti 16. heinäk. 2019 klo 19.26 Tal kirjoitti:
> I know you can have permissions on individual models that control which
> users have access t
I know you can have permissions on individual models that control which
users have access to them, but I need something for my apps.
Ex. If a user logs in, does he have access to the store_app? The forum_app?
etc.
I have a solution that looks something like this:
models.py:
class MyUser
gt;>>
>>>> from django.contrib.auth.decorators import login_requiredfrom
>>>> django.utils.decorators import method_decoratorfrom django.views.generic
>>>> import TemplateView
>>>> class ProtectedView(TemplateView):
>>>> template_
from django.views.generic
>>> import TemplateView
>>> class ProtectedView(TemplateView):
>>> template_name = 'secret.html'
>>>
>>> @method_decorator(login_required)
>>> def dispatch(self, *args, **kwargs):
>>>
ric
>> import TemplateView
>> class ProtectedView(TemplateView):
>> template_name = 'secret.html'
>>
>> @method_decorator(login_required)
>> def dispatch(self, *args, **kwargs):
>> return super().dispatch(*args, **kwargs)
>>
&g
om
>> django.utils.decorators import method_decoratorfrom django.views.generic
>> import TemplateView
>> class ProtectedView(TemplateView):
>> template_name = 'secret.html'
>>
>> @method_decorator(login_required)
>> def dispatc
uired)
> def dispatch(self, *args, **kwargs):
> return super().dispatch(*args, **kwargs)
>
>
> On Tuesday, May 28, 2019 at 6:54:38 AM UTC-5, Fellipe Henrique wrote:
>>
>> Hello,
>>
>> I have these class, based on CreateView class... and I
patch(*args, **kwargs)
On Tuesday, May 28, 2019 at 6:54:38 AM UTC-5, Fellipe Henrique wrote:
Hello,
I have these class, based on CreateView class... and I only want allow user
with these permissions to add record...
class ClienteCreateView(ERPbrViewMixin, CreateView):
template_name =
6:54:38 AM UTC-5, Fellipe Henrique wrote:
>
> Hello,
>
> I have these class, based on CreateView class... and I only want allow
> user with these permissions to add record...
>
> class ClienteCreateView(ERPbrViewMixin, CreateView):
> template_name = 'cadastro
Hello,
I have these class, based on CreateView class... and I only want allow user
with these permissions to add record...
class ClienteCreateView(ERPbrViewMixin, CreateView):
template_name = 'cadastro/cliente/form.html'
permission_required = ('cliente.can_open'
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
How can I allow the company user say managers to grant access or revoke
access from there junious. I want same view like permissions in user model.
how can i inherit it exactly in my cutomized model. Thank you
--
You received this message because you are subscribed to the Google Groups
> building anything complex and pretty much everything you need
> > is already built-in in Django.
> >
> >
> >
> > On Sun, Apr 21, 2019 at 5:12 AM Joel Mathew > <mailto:j...@joel.su>> wrote:
> >
> >
fic access to seperate areas
(views), with some having restricted access. In addition,
there are other hospitals who would be having no access to
another hospital's records. All of these permissions
should be customisable, and I should be able to create
additio
; wrote:
I have an application for a hospital. There, I should be
able to assign different roles like Doctor, Nurse,
Attender, Auxillary Nurse, Pharmacist, Store Manager etc,
each of would be having specific access to seperate areas
(vie
ere, I should be able to assign
>>> different roles like Doctor, Nurse, Attender, Auxillary Nurse, Pharmacist,
>>> Store Manager etc, each of would be having specific access to seperate
>>> areas (views), with some having restricted access. In addition, there are
>>> ot
Attender, Auxillary Nurse, Pharmacist,
>> Store Manager etc, each of would be having specific access to seperate
>> areas (views), with some having restricted access. In addition, there are
>> other hospitals who would be having no access to another hospital's
>> records
ews), with some having restricted access. In addition, there are
> other hospitals who would be having no access to another hospital's
> records. All of these permissions should be customisable, and I should be
> able to create additional roles and permission groups for specific areas
restricted access. In
addition, there are other hospitals who would be having no access to
another hospital's records. All of these permissions should be
customisable, and I should be able to create additional roles and
permission groups for specific areas later (from within the
applic
For roles and permissions management, I would stick with Django's Auth
application (django.contrib.auth).
It sounds like you ought to read up on how to design and build a
multi-tenancy SaaS project in Django. I cannot recommend any one resource,
so you'll have to do some searching an
hospitals who would be having no access to another hospital's
records. All of these permissions should be customisable, and I should be
able to create additional roles and permission groups for specific areas
later (from within the application itself, in production). What would be
the best sol
Thanks a lot, Simon!
The delete and create sounds like the perfect solution in my case, since I
don't have a lot of permissions assigned.
Will try it now on a test case.
On Mon, Mar 18, 2019 at 3:53 PM Simon Charette wrote:
> > Would the following strategy work? delete all app per
> Would the following strategy work? delete all app permission and use,
create_permissions to recreate them
Yes, but that will delete all the user and group permissions as well;
you'll have to reassign them.
> How do I know to which db table a given permission points? Or does it
llo Yevgeny,
>
> I'd start by deleting your stale content types[0] which your permissions
> are attached
> to. That should deal with deleted model case.
>
> For the renames I suggest you drop into a shell and manually edit the
> Permission.name
> of the misnamed instances.
&
Hello Yevgeny,
I'd start by deleting your stale content types[0] which your permissions
are attached
to. That should deal with deleted model case.
For the renames I suggest you drop into a shell and manually edit the
Permission.name
of the misnamed instances.
Best,
Simon
[0]
Thanks Simon. Is there some nonmagical solution? I mean, is it possible to
fix some of the permissions manually without breaking stuff?
On Sun, Mar 17, 2019, 9:21 PM Simon Charette wrote:
> Hello Yevgeny,
>
> I don't have magic solution to suggest to you given the current s
[0] https://code.djangoproject.com/ticket/29843
[1] https://github.com/django/django/pull/10540
Le dimanche 17 mars 2019 13:31:16 UTC-4, Yevgeny Bar Lev a écrit :
>
> Hello,
> I have noticed that the available permissions list, which can be set to
> users/groups in the admin doesn't match my
Hello,
I have noticed that the available permissions list, which can be set to
users/groups in the admin doesn't match my models. This happened after a
few standard migrations, where some models were renamed, some deleted, and
new models were added. The list is basically not updated
('IT utvecklare', 'IT utvecklare')
>>> 14 )
>>> 15 objects = WiggenUserManager()
>>> 16 dob = models.DateField(blank=True, null=True)
>>> 17 employee_number = models.IntegerField(blank=True, null=True)
>>> 1
27;, 'Verkstad'),
>> 13 ('IT utvecklare', 'IT utvecklare')
>> 14 )
>> 15 objects = WiggenUserManager()
>> 16 dob = models.DateField(blank=True, null=True)
>> 17 employee_number = models.IntegerField(blank=True, nul
l=True)
> 21 salary = models.IntegerField(blank=True, null=True)
>
> so when i add a new user with for example (title Verkstad) i want that
> user to belong to the group verkstad..
>
> where do i add that new group and set its permissions? i read somewhere
> about signal bu
xample (title Verkstad) i want that user
to belong to the group verkstad..
where do i add that new group and set its permissions? i read somewhere
about signal but it didnt say what to import or where to add it
anyone got an idea? :)
thnx in advance :)
--
You received this message because yo
How are you implementing user permission groups in your project? I'm using
a model to store user and other models as foreign key and permissions as
boolean? Is there a preferred module or standard way to do this?
Sincerely yours,
Joel G Mathew
--
You received this message because yo
Thank you!
Sincerely yours,
Joel G Mathew
On Wed, 31 Oct 2018 at 21:36, Stephen J. Butler
wrote:
>
> @login_required needs "request" as the first parameter.
>
> On Wed, Oct 31, 2018 at 11:58 AM Joel Mathew wrote:
>>
>> I have a custom function to check if a user is authorized to do
>> certain
@login_required needs "request" as the first parameter.
On Wed, Oct 31, 2018 at 11:58 AM Joel Mathew wrote:
> I have a custom function to check if a user is authorized to do
> certain functions:
>
> @login_required
> def checkpermission(request, permiss):
> username = request.user.username
>
I have a custom function to check if a user is authorized to do
certain functions:
@login_required
def checkpermission(request, permiss):
username = request.user.username
print(f"username is {username}")
print(f"User.objects.filter() is {User.objects.filter()}")
userobj = User.obje
On 4/04/2018 6:14 AM, Mateusz Kurowski wrote:
I don't need groups and permissions, but i want to use django admin.
Ive created this simple AbstractSuperUser that looks to solve this
case. But i wonder if thats best idea.
Can "groups and permissions" tables become a bottlenec
I don't need groups and permissions, but i want to use django admin. Ive
created this simple AbstractSuperUser that looks to solve this case. But i
wonder if thats best idea.
Can "groups and permissions" tables become a bottleneck in the future even
if i dont use any groups and
7;)
def __init__(self, *args, **kwargs):
super(UsersForm, self).__init__(*args, **kwargs)
self.fields['country'].required = False
self.fields['user_permissions'].widget.attrs['class'] = 'input-xxlarge'
self.fields['user_
d procedures at least I would like to
> know what specific bottlenecks did you stumble upon as I also use
> object-level permissions extensively in my own project and haven't had any
> performance issues yet.
>
>
First I had stored procedures on my mind, but I talked to a postgre
bject-level permissions extensively in my own project and haven't had any
performance issues yet.
If nothing else, your results would prove useful to the community.
On Thu, Aug 17, 2017 at 10:18 AM, guettli wrote:
>
>
> Am Mittwoch, 16. August 2017 13:39:53 UTC+2 schrieb Vijay
Am Mittwoch, 16. August 2017 13:39:53 UTC+2 schrieb Vijay Khemlani:
>
> So, please share the specific numbers you got from your profiling.
>
>
Why should I share the numbers? How would this help?
--
You received this message because you are subscribed to the Google Groups
"Django users" group
So, please share the specific numbers you got from your profiling.
On Wed, Aug 16, 2017 at 6:10 AM, guettli wrote:
>
>
> Am Donnerstag, 10. August 2017 14:30:31 UTC+2 schrieb Vijay Khemlani:
>>
>> It's still implemented like that in the background, but I'm not sure why
>> do you call it slow.
>>
Am Donnerstag, 10. August 2017 14:30:31 UTC+2 schrieb Vijay Khemlani:
>
> It's still implemented like that in the background, but I'm not sure why
> do you call it slow.
>
>
Here are more docs about guardian being slow:
http://django-guardian.readthedocs.io/en/stable/userguide/performance.html
Am Freitag, 11. August 2017 10:05:00 UTC+2 schrieb James Schneider:
>
>
>> My concern is that this python code can't return a queryset with all
> items where a given permission+user tuple match.
>
>
> def has_perm(obj, user):
> if user.is_superuser:
> return True
>
> This means I nee
Am Donnerstag, 10. August 2017 14:30:31 UTC+2 schrieb Vijay Khemlani:
>
> It's still implemented like that in the background, but I'm not sure why
> do you call it slow.
>
> Did you run benchmarks? Profiling?
>
> Usually your own business logic will be the bottleneck of your
> application, not
> My concern is that this python code can't return a queryset with all items
where a given permission+user tuple match.
def has_perm(obj, user):
if user.is_superuser:
return True
This means I need a SQL WHERE condition
For example MyModel.objects.filter(Q(...)|Q())
I never want
It's still implemented like that in the background, but I'm not sure why do
you call it slow.
Did you run benchmarks? Profiling?
Usually your own business logic will be the bottleneck of your application,
not your permission checking.
On Thu, Aug 10, 2017 at 5:15 AM, guettli
wrote:
>
>
> Am Mi
Am Mittwoch, 9. August 2017 18:03:44 UTC+2 schrieb Vijay Khemlani:
>
>
> https://django-guardian.readthedocs.io/en/stable/userguide/check.html#get-objects-for-user
>
> projects = get_objects_for_user(request.user, 'projects.view_project')
>
>
>
Thank you for providing this link. I guess it is new
https://django-guardian.readthedocs.io/en/stable/userguide/check.html#get-objects-for-user
projects = get_objects_for_user(request.user, 'projects.view_project')
On Wed, Aug 9, 2017 at 10:55 AM, guettli
wrote:
>
>
> Am Mittwoch, 9. August 2017 10:04:25 UTC+2 schrieb James Schneider:
>
>>
>>
>>
Am Mittwoch, 9. August 2017 10:46:10 UTC+2 schrieb James Schneider:
>
> Sorry for the duplicate, accidently hit send before I was done, finished
> below.
>
> On Aug 3, 2017 1:08 AM, "guettli" > wrote:
>
> First I asked a similar question on the postgresql-general list. The
> discussion[1] has s
Am Mittwoch, 9. August 2017 10:04:25 UTC+2 schrieb James Schneider:
>
>
>
> On Aug 3, 2017 1:08 AM, "guettli" > wrote:
>
> First I asked a similar question on the postgresql-general list. The
> discussion[1] has settled there.
>
> Now I would love the hear what you think.
>
>
> I am thinking abo
Am Montag, 7. August 2017 14:48:54 UTC+2 schrieb Vijay Khemlani:
>
> I use django-guardian for object level permissions and it works
> surprisingly well
>
Good to hear this. I will have a look at it.
>
> On Mon, Aug 7, 2017 at 4:59 AM, Antonis Christofides <
> ant
Am Montag, 7. August 2017 09:55:45 UTC+2 schrieb Mike Morris:
>
> I have no expertise in the field, but I've chosen not to let that stop me
> from making a suggestion :-)
>
> How about splitting the difference:
>
>1. Assign & track permissions on the applicatio
h application user is
> logged in. That would mean updating users and permissions in the database
> every time it changes on the application level. I think this would add a
> lot of complexity that you really don't want.
>
>
Using the postgres users would be possible, but li
Sorry for the duplicate, accidently hit send before I was done, finished
below.
On Aug 3, 2017 1:08 AM, "guettli" wrote:
First I asked a similar question on the postgresql-general list. The
discussion[1] has settled there.
Now I would love the hear what you think.
I am thinking about rewritin
> middle that runs very early
middleware
Antonis Christofides
http://djangodeployment.com
On 2017-08-09 11:15, Antonis Christofides wrote:
>
> Hi,
>
>> - You'll almost certainly take a performance hit when connecting to the
>> database. If each connection to the DB is using a different user, then
1 - 100 of 685 matches
Mail list logo