Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2542 Visualizações

Hello.

i'm trying to block the admin users to go in developer mode without using any python code ( throw access right and record rules ).

so i'm thinking to use the current URL in a rule, checking it for every request to see if it dose contain a "debug=1".

i have no idea what model check the URL (if something like that exist).

also if any of you had some other idea please do share it with me. 

Side note: Action URL model could control the current url ?.


Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
jan. 22
4446
0
ago. 25
3
2
ago. 25
136
1
ago. 25
272
1
ago. 25
217