OOIION-1588 and OOIION-1589: fine-tune the UI menus based on user permissions