Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
108 Vizualizări

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.



Imagine profil
Abandonează
Autor Cel mai bun răspuns

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. ...


Imagine profil
Abandonează
Autor

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.