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

Hi,

Is it possible to set a user-based access rules for wizards?

Thanks

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

What do you exactly want to do ? Do you not want user to access that wizard or wizard menu should not be appear for that user ? Please share more information!

الكاتب

I want to hide some wizards menus from regular users

Ok, then you can create a Group, Assign that group to that wizard menus but do not assign that group to that regular user. It means that if that user has no group, user won't be able to see that wizard menu.

الكاتب

is it possible to set it in 'security\ir.model.access.csv' files?

No, with wizard, it will not work but you can hide some fields if you want by using attrs attribute!

أفضل إجابة

Yes, you can set for user any access rules for any object.

You can make it by assign User to Group. See menu "Settings/Users". For Group you define access rules. See menu "Settings/Technical/Security/Access Controls List".

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

Do you think will it work for wizard?

Strangely, for wizard it don't work. I define access rules, that don't permit read. But it remained readable! So object-level permissions don't work for Transient Model?

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
مارس 25
1448
0
أغسطس 25
1428
2
أبريل 23
25712
1
ديسمبر 22
3384
0
ديسمبر 20
3270