GitLab will be shut down on June 25 to move to a new facility.

Commit f6c1dd39 authored by Martin Lowe's avatar Martin Lowe 🇨🇦
Browse files

Fix access check to ignore emp history table

parent 4de017a2
Pipeline #3105 passed with stage
in 0 seconds
......@@ -382,8 +382,10 @@ public class FoundationDBOrganizationService implements OrganizationsService {
params.add(MembershipFormAPIParameterNames.USER_ID.getName(), userName);
return cache
.get(orgID + "-access", params, OrganizationContactData.class,
() -> middleware.getAll(i -> orgAPI.getOrganizationContact(orgID, userName, i,
OrganizationRequestParams.builder().build()), OrganizationContactData.class))
() -> middleware.getAll(
i -> orgAPI.getOrganizationContact(orgID, userName, i,
.map(c -> OrganizationalUserType.valueOfChecked(c.getRelation())).collect(Collectors.toList());
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment