**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
dagbag_mock.return_value = dagbag
        self.security_manager._sync_dag_view_permissions = mock.Mock()
        for dag in dags:
            dag_resource_name = permissions.resource_name_for_dag(dag.dag_id)
            all_perms = self.security_manager.get_all_permissions()
            assert ('can_read', dag_resource_name) not in all_perms
            assert ('can_edit', dag_resource_name) not in all_perms
        self.security_manager.create_dag_specific_permissions()
        dagbag_mock.assert_called_once_with(read_dags_from_db=True)
        collect_dags_from_db_mock.assert_called_once_with()
        for dag in dags:
            dag_resource_name = permissions.resource_name_for_dag(dag.dag_id)
            all_perms = self.security_manager.get_all_permissions()
            assert ('can_read', dag_resource_name) in all_perms
            assert ('can_edit', dag_resource_name) in all_perms
        self.security_manager._sync_dag_view_permissions.assert_called_once_with(
            permissions.resource_name_for_dag('has_access_control'), access_control
        )
        del dagbag.dags["has_access_control"]
        with assert_queries_count(1):  
            self.security_manager.create_dag_specific_permissions()
    def test_get_all_permissions(self):
        with assert_queries_count(1):
            perms = self.security_manager.get_all_permissions()
        assert isinstance(perms, set)
        for perm in perms:
            assert isinstance(perm, tuple)
            assert len(perm) == 2
        assert ('can_read', 'Connections') in perms
    def test_get_all_non_dag_permissions(self):