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

Looking to override the default xml of (permission_panel.xml) inside the knowledge module.


Logged in portal users do NOT need to see which other users have been given access to a particular article. I want to hide the entire "Member" button to prevent them from seeing other portal users names. (See image) This seems hard coded via XML and not something I can adjust through debug mode with a view. 

I'm on SH, how can I accomplish  this?


Screenshot of the view from a logged in portal user. An article might be shared with hundreds or thousands of other users. This membership list should not be visible to a portal user.



الصورة الرمزية
إهمال
الكاتب أفضل إجابة

I was hoping to use record rules perhaps to limit access to the display_name filed, or the "Article Members" model as a whole for portal users, but that actually breaks the knowledge system completely. ...


الصورة الرمزية
إهمال
الكاتب

So then I tried allowing access to names, but ONLY employee names. So in other words they should see only the name of the employee that posted the article, but not the names of other portal users. Tried this via a record rule with

[('partner_id.employee', '=', True)]

I would expect this to return ONLY the "article members" that are employees. But this still doesn't work. all names shown.