Fix non-enterprise users being able to access scim (#3250)

This commit is contained in:
Thomas Rittson 2022-08-05 10:40:16 +10:00 committed by GitHub
parent f91f4ed568
commit b625767f13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ export class Organization {
}
get canManageScim() {
return this.isAdmin || this.permissions.manageScim;
return (this.isAdmin || this.permissions.manageScim) && this.useScim;
}
get canManagePolicies() {