indigo-iam / iam

INDIGO Identity and Access Management Service
https://indigo-iam.github.io/
Other
99 stars 43 forks source link

Add authorities list to SCIM user and rename isAdmin to isVoAdmin #788

Closed enricovianello closed 2 weeks ago

enricovianello commented 2 weeks ago

Remove isVoAdmin SCIM info with the list of authorities:

{
  id: "73f16d93-2441-4a50-88ff-85360d78c6b5",
  meta: {  ...  },
  schemas: [ ... ],
  userName: "admin",
  ...
  active: true,
  urn:indigo-dc:scim:schemas:IndigoUser: {
    oidcIds: [ ... ],
    samlIds: [ ... ],
    certificates: [ ... ],
    authorities: [
      "ROLE_ADMIN",
      "ROLE_USER"
    ]
  }
}

in case scim.include_authorities is set to true (default: false).

sonarcloud[bot] commented 2 weeks ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud