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
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
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
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
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
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
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
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
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
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
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
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
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(
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
“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
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
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
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'
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.
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
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
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,
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
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
24 matches
Mail list logo