Content
View differences
Updated by Attila Dombi 3 days ago
When disabling the backlogs module, the project would still continue to share its sprints. Potentially also blocking the "all projects" sharing option (and finding that again requires to reactive the backlogs module).
The solution is to reset the sharing settings on the project to `"No sharing"`, when disabling the backlogs module.
<br>
Technical details:
Use a pattern similar to the `OpenProject::Events::JOURNAL_CREATED` event. Emit the event during the destruction of the `EnableModule` model, then solve the project update in an event subscription.
The solution is to reset the sharing settings on the project to `"No sharing"`, when disabling the backlogs module.
<br>
Technical details:
Use a pattern similar to the `OpenProject::Events::JOURNAL_CREATED` event. Emit the event during the destruction of the `EnableModule` model, then solve the project update in an event subscription.