Did you log in?
Em sexta-feira, 7 de dezembro de 2018 09:21:51 UTC-2, Akash utreja escreveu:
>
> Hi,
> I am building authorization in django framework using python.. The problem
> is that my code is working fine on local server but when I run the same in
> production it returns "Anonymous User"
On 6 sep, 06:31, Julien Castets wrote:
> Hi,
>
> I faced to the same problem than you a few weeks ago, and I found this
> :https://github.com/dominno/django-moderation#readme
> It seems to be what you're searching.
>
This reusable app seems to work for me. I will try it.
Thanks.
> Julien Caste
On 6 sep, 00:55, Mike Dewhirst wrote:
> On 6/09/2011 5:46am, Mario8k wrote:
>
> > Hello,
>
> > Does anyone knows some solution (reusable app, snippet or any idea) to
> > model an authorization workflow of data?
>
> > That is... supose that a user have restricted some model field, ie,
> > cannot
On 5 sep, 17:27, Shawn Milochik wrote:
> You could use a model with three fields:
> A generic foreign key to the instance to be modified.
> A char field containing the fieldname on that instance.
> The new value.
>
> Of course you'd need another field to store the user (assuming the
Hi,
I faced to the same problem than you a few weeks ago, and I found this
: https://github.com/dominno/django-moderation#readme
It seems to be what you're searching.
On Tue, Sep 6, 2011 at 5:55 AM, Mike Dewhirst wrote:
> On 6/09/2011 5:46am, Mario8k wrote:
>>
>> Hello,
>>
>> Does anyone knows
On 6/09/2011 5:46am, Mario8k wrote:
Hello,
Does anyone knows some solution (reusable app, snippet or any idea) to
model an authorization workflow of data?
That is... supose that a user have restricted some model field, ie,
cannot edit directly this field. And now supose that he could request
to
You could use a model with three fields:
A generic foreign key to the instance to be modified.
A char field containing the fieldname on that instance.
The new value.
Of course you'd need another field to store the user (assuming the
person making the authorization will base their decis
On 23 February 2011 19:03, Joakim Hove wrote:
> Hello,
>
> I am using Django to create an album application. I was planning to
> use djangos user system for authorization, however the final image
> viewing will be like:
>
>
>
> Where image.url should resolve to something like
> http://static
Thank you;
that was a very good starting point - I will hopefully find a solution
from this.
Joakim
On 23 Feb, 09:18, Mike Ramirez wrote:
> On Wednesday, February 23, 2011 12:03:12 am Joakim Hove wrote:
>
> > Hello,
> > Any suggestions of how to combine django based authorization with
> > servi
On Wednesday, February 23, 2011 12:03:12 am Joakim Hove wrote:
> Hello,
> Any suggestions of how to combine django based authorization with
> serving of static content? I am the owner of the box in question and
> can modify the apache setup way beyond my competence.
>
> Regards - Joakim Hove
Yo
2009/10/13 elminio
>
> Hi,
>
> By admin I can choose what users can do with model objects. And what
> about certain pages. Do I have to write if in everyone view method (to
> check is current user may access given view ?
>
> Or is there any built in tool that makes it possible to restrict
> acces
And specifically the @login_required decorator...
On Oct 13, 12:51 pm, Daniel Roseman wrote:
> On Oct 13, 11:42 am, elminio wrote:
>
> > Hi,
>
> > By admin I can choose what users can do with model objects. And what
> > about certain pages. Do I have to write if in everyone view method (to
> >
On Oct 13, 11:42 am, elminio wrote:
> Hi,
>
> By admin I can choose what users can do with model objects. And what
> about certain pages. Do I have to write if in everyone view method (to
> check is current user may access given view ?
>
> Or is there any built in tool that makes it possible to r
On Thu, 2009-04-02 at 22:34 -0700, Joshua Partogi wrote:
> On Apr 3, 11:23 am, Malcolm Tredinnick
> wrote:
> > On Fri, 2009-04-03 at 00:26 +1100, Joshua Partogi wrote:
> > > Dear all,
> >
> > > In django admin we can give permission to user to edit, delete or
> > > create certain model. But what
On Apr 3, 11:23 am, Malcolm Tredinnick
wrote:
> On Fri, 2009-04-03 at 00:26 +1100, Joshua Partogi wrote:
> > Dear all,
>
> > In django admin we can give permission to user to edit, delete or
> > create certain model. But what I want to do now is a user can only
> > edit or delete the data that he
On Fri, 2009-04-03 at 00:26 +1100, Joshua Partogi wrote:
> Dear all,
>
> In django admin we can give permission to user to edit, delete or
> create certain model. But what I want to do now is a user can only
> edit or delete the data that he/she created.
>
> Is there any way we can do this in dj
On Nov 13, 3:34 am, "James Bennett" <[EMAIL PROTECTED]> wrote:
> On 11/12/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
>
> > So, without having tested it, you might be able to access
> > request._req.subprocess_env to get the information (although read the
> >mod_pythondocs first, particularl
On 11/12/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
> So, without having tested it, you might be able to access
> request._req.subprocess_env to get the information (although read the
> mod_python docs first, particularly about add_common_vars(), since
> that's certainly tripped me up in th
On Mon, 2007-11-12 at 15:55 +, Krzysztof Ciesielski wrote:
> Hi, I've got a problem with django used with mod_ssl and mod_python. I
> wanted to use environmental variables from mod_ssl in order to
> automaticly log in users but it appears that those variables are not
> accessible trough requ
On 11/12/07, Krzysztof Ciesielski <[EMAIL PROTECTED]> wrote:
> Hi, I've got a problem with django used with mod_ssl and mod_python. I
> wanted to use environmental variables from mod_ssl in order to
> automaticly log in users but it appears that those variables are not
> accessible trough request
Hi Manakel,
On Nov 6, 11:53 am, Manakel <[EMAIL PROTECTED]> wrote:
> This web application had a Authorization model at the Field level.
> []
> TASK has a progress status field and a due date field
> realisator user can only change the status field
> owner can change both the status field
21 matches
Mail list logo