Skip to content

Expose user availablility on issuable pages

Adam Hegyi requested to merge 296943-expose-user-availability into master

What does this MR do?

This MR exposes user.status.availability at various places on issue and MR pages.

  • Current assignees (data attributes)
  • Assignee dropdown
  • Discussions

I added a few tests to avoid N+1 queries and checks to see if the association (status) is preloaded.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • 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

Related to #296943 (closed)

Edited by Adam Hegyi

Merge request reports