Actions
Task #132
closedDynamic enable/disable module on FE
Start date:
09/05/2016
Due date:
% Done:
100%
Estimated time:
12.00 h
Owner:
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
Related issues
Updated by Radek Tomiška about 8 years ago
- Related to Task #195: Implement routes priority (frontend) added
Updated by Radek Tomiška about 8 years ago
- 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?
Updated by Ondřej Kopr about 8 years ago
- 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.
Updated by Radek Tomiška about 8 years ago
- Status changed from Resolved to Closed
Actions