Task #132
closed
Dynamic enable/disable module on FE
Added by Vít Švanda over 8 years ago.
Updated about 8 years ago.
Description
Modules on FE can be disabled by BE configurations.
- Routes disable - when FE module is disabled, then routes has to be recounted (priority etc.)
- Test and documentation
- Description updated (diff)
- Related to Task #195: Implement routes priority (frontend) added
- Status changed from New to Needs feedback
- Assignee changed from Vít Švanda to Ondřej Kopr
- % Done changed from 0 to 90
I did not found a way, how to dynamically refresh react router routes. So I've chosen a different solution - i've switched from route overriding to component overriding, which works. Now its possible to deactivate acc module and password change still works from core module. Frontend module de/activation is implemented too.
Could you make a review and test, please?
- Status changed from Needs feedback to Resolved
- Assignee changed from Ondřej Kopr to Radek Tomiška
- % Done changed from 90 to 100
Check how you override routes. Override components instead of routes, is ok.
Enable and disable acc module and change password now works perfectly.
- Status changed from Resolved to Closed
Also available in: Atom
PDF