Add GL_PROJECT support to header view who can join tooltip
Add GL_PROJECT support to header view who can join tooltip
Part of https://gitlab.com/gitlab-org/gitter/webapp/issues/2411
Other MR where we added it for GL_GROUP: https://gitlab.com/gitlab-org/gitter/webapp/-/merge_requests/1751
Testing strategy
- Insert a new GitLab Gitter group into Mongo
db.groups.insert({ "name" : "gitlab-org", "uri" : "gitlab-org", "lcUri" : "gitlab-org", "lcHomeUri" : "gitlab-org/home", "homeUri" : "gitlab-org/home", "sd" : { "externalId" : "9970", "linkPath" : "gitlab-org", "public" : true, "admins" : "GL_GROUP_MAINTAINER", "members" : "PUBLIC", "type" : "GL_GROUP" }, });
- Insert a room in that new GitLab group
db.troupes.insert({ "groupId" : db.groups.findOne({ "lcUri" : "gitlab-org", })._id, "uri" : "gitlab-org/gitlab", "lcUri" : "gitlab-org/gitlab", "sd" : { "externalId" : "278964", "linkPath" : "gitlab-org/gitlab", "public" : false, "admins" : "GL_PROJECT_MAINTAINER", "members" : "GL_PROJECT_MEMBER", "type" : "GL_PROJECT" }, });
- Visit
gitlab-org/gitlab
signed in with your GitLab account (ensure the user you sign in with is part of thegitlab-org
GitLab group) - Hover of the title and notice it says
All GitLab gitlab-org/gitlab project members can join
Edited by Eric Eastwood