Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2537 Visualizzazioni

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
gen 22
4432
0
ago 25
27
0
ago 25
50
1
ago 25
262
1
ago 25
198