تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
9099 أدوات العرض

Hello

I have production server that i need to restrict any user to access debug (Developer Mode) even admin user. I make button in setting dashboard hidden but it work if add "debug=" in url.

Thanks

الصورة الرمزية
إهمال

This is probably not the simplest solution, but if you won't find anything else: you could setup a reverse proxy between odoo and your users (so that they must use the proxy to access the odoo). Then you add a rule in the proxy, that urls with 'debug=' in them are forbidden.

However, I think there must be a simpler solution.

As a side mark: it is extremely dangerous to change the admin user. Create a custom admin user, if you want to restrict some access, but don't change the default one.

المنشورات ذات الصلة الردود أدوات العرض النشاط
0
سبتمبر 23
2457
2
نوفمبر 24
3931
0
سبتمبر 21
7
0
مارس 18
365
1
أغسطس 21
5009