Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,11 @@ qx.Class.define("osparc.store.Groups", {
const groupMe = this.__addToGroupsCache(resp["me"], "me");
const orgs = {};
resp["organizations"].forEach(organization => {
if (supportGroup && supportGroup.getGroupId() === organization["gid"]) {
// support group was already added to the cache, but it was missing the accessRights
// the accessRights come from the organization, update them
supportGroup.setAccessRights(organization["accessRights"]);
}
const org = this.__addToGroupsCache(organization, "organization");
orgs[org.getGroupId()] = org;
});
Expand Down
Loading