Skip to content

Commit 82134ea

Browse files
authored
Merge pull request #142 from LalitDeore/distribution
Allow support user to see parent org on admin page
2 parents 7ad05d8 + 25cced8 commit 82134ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1322,7 +1322,7 @@ func HandleGetSubOrgs(resp http.ResponseWriter, request *http.Request) {
13221322
"parentOrg": returnParent,
13231323
}
13241324

1325-
if len(parentOrg.Id) == 0 || !parentUser {
1325+
if (len(parentOrg.Id) == 0 || !parentUser) && !user.SupportAccess {
13261326
data["parentOrg"] = nil
13271327
}
13281328

0 commit comments

Comments
 (0)