-
Bug
-
Resolution: Fixed
-
Major
-
4.2.0
-
None
-
None
-
4.2 M5
The task scheduler tool is launched in the CMS context if we use an AddTaskButtonController but this tool should only be displayed in the admin context.
The problem is the AddTaskButtonController, loaded by th AddTaskClientSideElement, is used for buttons both in the admin and the CMS context.
In the admin context, we can find the buttons to :
- reindex all contents
- reload ACL cache
If we have the web plugin, we also have the :
- build live button for the whole CMS
- build live button by website
- reindex contents of a selected website
With the content io plugin, we have the :
- synchronization button for a collection
If we are in the CMS context, the scheduler tool shouldn't be loaded, but if we are in the admin context, it should (if we have the correct rights).