SCIM: Disable auto assign organization if the user has been provisioned (#101307)
* Add isProvisioned field to model * Add new isProvisioned column to migration * Disable auto assignment to organization if the user is provisioned * add annotation to user model * add annotation to user models * Remove IsProvisioned field from Identity * Move new field assignenment and add default value * Update annotations for user query results * Remove isProvisioned from identity * Add new column to test * Resolve user from identity at SyncOrgHook
This commit is contained in:
@@ -69,6 +69,7 @@ func setupDBForGrafana(t *testing.T, ctx context.Context, m cfgMap) {
|
||||
last_seen_at DATETIME NULL,
|
||||
is_disabled INTEGER NOT NULL DEFAULT 0,
|
||||
is_service_account BOOLEAN DEFAULT 0,
|
||||
is_provisioned BOOLEAN DEFAULT 0,
|
||||
uid TEXT NULL
|
||||
);
|
||||
CREATE TABLE org (
|
||||
|
||||
Reference in New Issue
Block a user