Can you logout and login again? The group membership is cached and maybe
you changed after you tried the code.
On Wednesday, 18 September 2019 10:16:03 UTC-7, Ramos wrote:
>
> or maybe not
> I tried to impersonate other user that has membership PORTEIRO and i get
> "Forbidden"
>
> Em qua, 18
any help?
Em qua, 18 de set de 2019 às 18:15, António Ramos
escreveu:
> or maybe not
> I tried to impersonate other user that has membership PORTEIRO and i get
> "Forbidden"
>
> Em qua, 18 de set de 2019 às 18:09, António Ramos
> escreveu:
>
>> apparently i need to be logged in first.
>>
>>
or maybe not
I tried to impersonate other user that has membership PORTEIRO and i get
"Forbidden"
Em qua, 18 de set de 2019 às 18:09, António Ramos
escreveu:
> apparently i need to be logged in first.
>
> solved!
>
> Em qua, 18 de set de 2019 às 17:38, António Ramos
> escreveu:
>
>> Is
apparently i need to be logged in first.
solved!
Em qua, 18 de set de 2019 às 17:38, António Ramos
escreveu:
> Is something like this??? It returns not authorized!
>
> auth.add_permission(db.auth_group(role="PORTEIRO")["id"],
> "impersonate",db.auth_user)
> auth.impersonate(4)#
Is something like this??? It returns not authorized!
auth.add_permission(db.auth_group(role="PORTEIRO")["id"],
"impersonate",db.auth_user)
auth.impersonate(4)# user 4 is included in the PORTEIRO group
Em sex, 16 de ago de 2019 às 20:05, Dave S escreveu:
>
>
> On Friday, August
5 matches
Mail list logo