Project

General

Profile

Actions

Task #132

closed

Dynamic enable/disable module on FE

Added by Vít Švanda over 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Modularity
Target version:
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

Related to IdStory Identity Manager - Task #195: Implement routes priority (frontend)ClosedOndřej Kopr11/18/2016

Actions
Actions #1

Updated by Radek Tomiška about 8 years ago

  • Description updated (diff)
Actions #2

Updated by Radek Tomiška about 8 years ago

  • Related to Task #195: Implement routes priority (frontend) added
Actions #3

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?

Actions #4

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.

Actions #5

Updated by Radek Tomiška about 8 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF