**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
invalid_permissions = [
            'can_varimport',  
            'can_eat_pudding',  
        ]
        username = "LaUser"
        user = api_connexion_utils.create_user(
            self.app,
            username=username,
            role_name='team-a',
        )
        for permission in invalid_permissions:
            self.expect_user_is_in_role(user, rolename='team-a')
            with pytest.raises(AirflowException) as ctx:
                self.security_manager._sync_dag_view_permissions(
                    'access_control_test', access_control={'team-a': {permission}}
                )
            assert "invalid permissions" in str(ctx.value)
    def test_access_control_is_set_on_init(self):