Support editing reports directly in the module without going to the PowerBI portal for already published reports. This will allow certain users to edit the reports to do some minor tweaks without visiting the portal.
Create a new permission type "EDIT" on the Workspace permissions to allow specifying this permission to groups and users
When rendering a report, if the toolbar is visible, and the user has permissions to EDIT the report, add the "Edit" button to the toolbar to change to Edit mode.
Add new module setting named "Hide Visualizers and Data when editing", to hide these panels after entering in edit mode (just via CSS)
Support editing reports directly in the module without going to the PowerBI portal for already published reports. This will allow certain users to edit the reports to do some minor tweaks without visiting the portal.
References
https://playground.powerbi.com/en-us/dev-sandbox