Pages access level change incorrectly named in Audit Events

Summary

The pages access level Everyone in a project is displayed in Audit Events actions as Unknown:

Screenshot_2020-09-23_at_11.13.09

Making the audit log confusing to the user:

Screenshot_2020-09-23_at_11.09.07

Steps to reproduce

  1. In a project, change Settings>General>Visibility>Pages to Everyone
  2. Check Settings>Audit Events in the project or use the Audit Events API

What is the current bug behavior?

Changes of pages_access_level attribute of a project from/to public are incorrectly shown as Unknown.

What is the expected correct behavior?

Changes of pages_access_level attribute of a project from/to public are shown as Everyone.

Output of checks

This bug happens on GitLab.com

Edited May 03, 2021 by Dan Jensen
Assignee Loading
Time tracking Loading