**Apache Airflow version**: 2.1.1

**What happened**:

For user with "Op" role following menu items are not visible in navigation panel, however pages are accessible (roles has access to it):
- "Browse" -> "DAG Dependencies"
- "Admin" -> "Configurations"

**What you expected to happen**: available menu items in navigation panel
tests/www/test_security.py
return self.security_manager.has_access(perm, permissions.resource_name_for_dag(dag_id), user)
    def _create_dag(self, dag_id):
        dag_model = DagModel(dag_id=dag_id)
        self.session.add(dag_model)
        self.session.commit()
        self.security_manager.sync_perm_for_dag(dag_id, access_control=None)
    def tearDown(self):
        clear_db_runs()
        clear_db_dags()
        self.appbuilder = None
        self.app = None
        self.db = None
        log.debug("Complete teardown!")
    def test_init_role_baseview(self):
        role_name = 'MyRole7'
        role_perms = [('can_some_other_action', 'AnotherBaseView')]
        with pytest.warns(
            DeprecationWarning,
            match="`init_role` has been deprecated\\. Please use `bulk_sync_roles` instead\\.",
        ):
            self.security_manager.init_role(role_name, role_perms)
        role = self.appbuilder.sm.find_role(role_name)
        assert role is not None
        assert len(role_perms) == len(role.permissions)
    def test_bulk_sync_roles_baseview(self):