Skip to content

Provide preloaded authors externally in AuthorToken

What does this MR do?

This MR fixes an issue where author_token.vue has current user item hard-coded, this led to duplicate item in the dropdown in places where API returns current user in authors list. We now pass it via config externally so only places which need it will have it.

Screenshots (strongly suggested)

This MR doesn't affect anything visually.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Kushal Pandya

Merge request reports