Prevent empty menu items appearing

Added custom access check that check administer ai permission and for the existence of plugins. #3482651

Closes #3482651

Merge request reports

Loading