Re: access control module

2019-12-29 Thread Integr@te System
Hi, Think of seperating on permissions, each of them query out specific details in views.py. Hope it helpful. On Mon, Dec 30, 2019, 00:52 oliseh obiajuru wrote: > i am looking to create a custom access control for the front end of my > django web site, where by if you are categorie

access control module

2019-12-29 Thread oliseh obiajuru
i am looking to create a custom access control for the front end of my django web site, where by if you are categories as a certain user (lets say editor) you should have a different navigation menu items from those of a (writer). please i need help. -- You received this message because you

Re: Role Based Access Control for different API methods in Django REST Framework

2019-09-07 Thread gulo loki
in your viewset class,you could rewrite get_permissions to set which permissions you want on action def get_permissions(self, *args, **kwargs): if self.action == 'create': self.permission_classes = (AllowAny,) elif self .action == 'login': self.permiss

Role Based Access Control for different API methods in Django REST Framework

2019-09-07 Thread Azar Mohamed
I am creating REST API for Product, which has following Permission, (create_product, view_product, edit_product). In my Project I am having various users with different roles (Ex: Producer, Retailer, Consumer,...etc). I am assigning permission to individual Roles. I am using Django Group Permiss

Re: Data Level Access Control

2019-05-22 Thread Yang Luo
Hi datta, You can try PyCasbin: https://github.com/pycasbin/django-casbin On Wednesday, January 6, 2010 at 4:55:12 AM UTC+8, datta wrote: > > Hi, > > Is there a setting/module that helps me to achieve data level access > control in a web application. > > For example, if I

Re: Data Level Access Control

2010-01-07 Thread derek
hings they “own” (i.e., that they created) in the admin. " On Jan 5, 10:55 pm, datta wrote: > Hi, > > Is there a setting/module that helps me to achieve data level access > control in a web application. > > For example, if I have a sales app, the leads created by one user &g

Re: Data Level Access Control

2010-01-05 Thread Daniel Hilton
2010/1/5 datta : > Hi, > > Is there a setting/module that helps me to achieve data level access > control in a web application. There are a number of projects that are looking at row-level access control: http://nomadblue.com/blog/django/django-rbac/ http://opensource.washing

Data Level Access Control

2010-01-05 Thread datta
Hi, Is there a setting/module that helps me to achieve data level access control in a web application. For example, if I have a sales app, the leads created by one user should not be visible to the other. Also, I should be able to create sales hierarchies ( agents attached to managers, managers

Re: Access Control Lists implementation for Django?

2009-01-05 Thread Mir Nazim
django. Django's permission system is a bit limited for the app we are >> working on. >> Actually, a per object access control is needed. > > There's a granular_permissions app, but it requires a couple patches > (submitted but not applied so far...) to work corr

Re: Access Control Lists implementation for Django?

2009-01-05 Thread bruno desthuilliers
On 5 jan, 10:55, "Mir Nazim" wrote: > Hello Guys > > I was wondering that is there any 3rd party ACL implementation for > django. Django's permission system is a bit limited for the app we are > working on. > Actually, a per object access control is needed. T

Re: Access Control Lists implementation for Django?

2009-01-05 Thread Ramdas S
mited for the app we are > working on. > Actually, a per object access control is needed. > > Thank you in advance for any suggestions. > > -- > Mir Nazim > Cell: +91 9469071855 > Blog: http://saunzal.org > Company:http://www.ikra

Access Control Lists implementation for Django?

2009-01-05 Thread Mir Nazim
Hello Guys I was wondering that is there any 3rd party ACL implementation for django. Django's permission system is a bit limited for the app we are working on. Actually, a per object access control is needed. Thank you in advance for any suggestions. -- Mir Nazim Cell: +91 9469071855

Re: Access Control List

2008-05-01 Thread Richard Dahl
The documentation says that it is not provided by the auth system and not built into the admin, but it may be possible. One thing you should try is to build a custom manager for your model and use threadlocals (search the archives for this) to enable this. Something like: class Stories(

Re: Access Control List

2008-05-01 Thread Ronny Haryanto
On Fri, May 2, 2008 at 10:04 AM, Rit Lim <[EMAIL PROTECTED]> wrote: > "Mary may change news stories, but only the ones she created > herself..." > > How do I go about doing that? I was told I need to write an ACL. > However, I'm not sure how to do it. > > Anyone has some sample code? The doc

Access Control List

2008-05-01 Thread Rit Lim
“Mary may change news stories, but only the ones she created herself..." How do I go about doing that? I was told I need to write an ACL. However, I'm not sure how to do it. Anyone has some sample code? Thanks, --~--~-~--~~~---~--~~ You received this message beca

Re: Access control

2008-03-29 Thread Peter Herndon
http://www.djangoproject.com/documentation/authentication/ On Sat, Mar 29, 2008 at 1:04 PM, Wilson Acha <[EMAIL PROTECTED]> wrote: > > Hello, django have any library that allows include a login and enable > restrict access to different parts of the application according to > roles and / or p

Access control

2008-03-29 Thread Wilson Acha
Hello, django have any library that allows include a login and enable restrict access to different parts of the application according to roles and / or profiles Wilson --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: authentication/access control for static files

2006-09-29 Thread Maximillian Dornseif
In my application I'm not concerned about people giving the urls of static files to others but people guessing filenames (this is called "Browsing" or "URL Tampering" by some.) I counter this by setting "Options -Indexes" in the apache configuration and changing the filename to something 'random'

Re: authentication/access control for static files

2006-09-28 Thread Bedros Hanounik
thanks, that's exactly what I'm looking for.On 9/28/06, Ivan Sagalaev <[EMAIL PROTECTED] > wrote:Bedros Hanounik wrote:> thanks for the quick response; that should work for me for now (low > traffic); but I wonder how it scales with high traffic site. Also, any> idea how this may apply to lighttpd.

Re: authentication/access control for static files

2006-09-28 Thread Ivan Sagalaev
Bedros Hanounik wrote: > thanks for the quick response; that should work for me for now (low > traffic); but I wonder how it scales with high traffic site. Also, any > idea how this may apply to lighttpd. In Lighty there is a "secure download" module (http://trac.lighttpd.net/trac/wiki/Docs%3A

Re: Re: authentication/access control for static files

2006-09-28 Thread James Bennett
On 9/28/06, Bedros Hanounik <[EMAIL PROTECTED]> wrote: > thanks for the quick response; that should work for me for now (low > traffic); but I wonder how it scales with high traffic site. Also, any idea > how this may apply to lighttpd. The PythonAuthenHandler directive used to make this work is

Re: authentication/access control for static files

2006-09-28 Thread Bedros Hanounik
thanks for the quick response; that should work for me for now (low traffic); but I wonder how it scales with high traffic site. Also, any idea how this may apply to lighttpd. On 9/28/06, James Bennett <[EMAIL PROTECTED]> wrote: On 9/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:> for example,

Re: authentication/access control for static files

2006-09-28 Thread James Bennett
On 9/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > for example, I have a dynamic page created, which has a url pointing to > a static file on another server. Django provides a mechanism for extending Apache's own authentication to check against the Django user database, but this requires

authentication/access control for static files

2006-09-28 Thread [EMAIL PROTECTED]
I'm planning to play with django and I am totally a django noob. my question is how can I set access control of static files on a separate server. for example, I have a dynamic page created, which has a url pointing to a static file on another server. if I have access to both servers; ho