mirror of
https://github.com/zitadel/zitadel.git
synced 2025-03-01 12:07:24 +00:00

# Which Problems Are Solved - Adds support for the get user SCIM v2 endpoint # How the Problems Are Solved - Adds support for the get user SCIM v2 endpoint under `GET /scim/v2/{orgID}/Users/{id}` # Additional Context Part of #8140 Replaces https://github.com/zitadel/zitadel/pull/9154 as requested by the maintainers, discussions see https://github.com/zitadel/zitadel/pull/9154.
20 lines
536 B
Go
20 lines
536 B
Go
package scim
|
|
|
|
import (
|
|
"github.com/zitadel/zitadel/internal/api/authz"
|
|
"github.com/zitadel/zitadel/internal/api/http"
|
|
"github.com/zitadel/zitadel/internal/domain"
|
|
)
|
|
|
|
var AuthMapping = authz.MethodMapping{
|
|
"POST:/scim/v2/" + http.OrgIdInPathVariable + "/Users": {
|
|
Permission: domain.PermissionUserWrite,
|
|
},
|
|
"GET:/scim/v2/" + http.OrgIdInPathVariable + "/Users/{id}": {
|
|
Permission: domain.PermissionUserRead,
|
|
},
|
|
"DELETE:/scim/v2/" + http.OrgIdInPathVariable + "/Users/{id}": {
|
|
Permission: domain.PermissionUserDelete,
|
|
},
|
|
}
|