Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
KPI Reporting Generator
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Coscine
backend
scripts
KPI Reporting Generator
Merge requests
!22
Fix: Organizations could contain the information of Institutes
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
Fix: Organizations could contain the information of Institutes
Fix/xxxx-organization
into
main
Overview
0
Commits
1
Pipelines
2
Changes
2
Merged
Fix: Organizations could contain the information of Institutes
Petar Hristov
requested to merge
Fix/xxxx-organization
into
main
Dec 13, 2022
Overview
0
Commits
1
Pipelines
2
Changes
2
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
3e6c04eb
1 commit,
Dec 13, 2022
2 files
+
10
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
src/KPI Generator/Reportings/User/UserReporting.cs
+
10
−
0
View file @ 3e6c04eb
Edit in single-file editor
Open in Web IDE
Show full file
@@ -171,6 +171,16 @@ public class UserReporting : Reporting<UserReportingOptions>
Console
.
WriteLine
(
$" No
{
searchedEntityType
}
found for user with ID \"
{
id
}
\" and login provider
{
loginProvider
.
DisplayName
}
"
);
continue
;
}
if
(
orgShibboleth
.
RorUrl
.
Contains
(
'#'
))
{
var
orgTopLevelRor
=
orgShibboleth
.
RorUrl
[..
orgShibboleth
.
RorUrl
.
IndexOf
(
'#'
)];
var
orgTopLevel
=
FetchOrganizationByRor
(
orgTopLevelRor
);
if
(!
orgTopLevel
.
RorUrl
.
Equals
(
_otherOrganization
.
RorUrl
))
{
result
.
Add
(
orgTopLevel
);
break
;
}
}
result
.
Add
(
orgShibboleth
);
break
;
default
:
Loading