Wednesday, May 10, 2023
1 change
New functionality added to Odoo
Portal users can create and edit Knowledge articles when they have been granted the right access, making collaboration with external users easier. The change keeps sensitive actions restricted, such as changing permissions, using chatter, adding covers, or accessing embeds they are not allowed to view.
Original PR description
PURPOSE Allow portal users to create/write on knowledge articles, depending on the rights they have been granted. SPECS Re-use "portal sharing" technique and instantiate a limited web-client for the…
PURPOSE Allow portal users to create/write on knowledge articles, depending on the rights they have been granted. SPECS Re-use "portal sharing" technique and instantiate a limited web-client for the portal view of knowledge articles. What portal users can do: - Edit article content and article icon - Use all editor commands except /image, /file and /video - View embed views for "article items" - Create private articles - Create article under articles to which they have write access - Modify article properties values - Alter the hierarchy / article order of their private articles - Send their private articles to the trash - Search articles uses a custom modal instead of command palette (as command palette is not accessible) What portal users CANNOT do: - Use the chatter (requires specific permissions and big rework, not planned in v1) - Alter article members & permissions - Alter the hierarchy of workspace articles - Add an article cover (requires access to ir.attachment and unsplash) - View embeds for other models they don't have access to Task-3056280