From 18f25bd794a31db7309db8e64042cbdbad780d99 Mon Sep 17 00:00:00 2001 From: "Yann Esposito (Yogsototh)" Date: Tue, 29 Sep 2020 14:09:33 +0200 Subject: [PATCH] tracker.org --- tracker.org | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/tracker.org b/tracker.org index 7978ee06..11e73a41 100644 --- a/tracker.org +++ b/tracker.org @@ -230,9 +230,32 @@ CLOCK: [2020-09-29 Tue 14:05] [2020-09-29 Tue 14:05] - ref :: [[file:~/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*back to work][back to work]] -***** +***** add idp-mapping during org creation +- ref :: https://github.com/threatgrid/iroh/issues/4204 +The =Org= schema is currently: +#+BEGIN_SRC clojure +(s/defschema OrgIdPMapping + (st/open-schema + {:idp (describe s/Str "Internal idp-id") + :organization-id (describe s/Str "the organization id provided by the IdP") + :enabled? (describe s/Bool "Do we allow the connection through this IdP?")})) + +(s/defschema NewOrg + "Org before being saved to DB" + (st/merge + {:id s/Str} + (st/optional-keys + {:name (describe s/Str "The name of the Organization specified during login.") + :additional-scopes (describe oas/Scopes "Additional scopes octroyed to the org. Can only be changed by masters.") + :allow-all-role-to-login (describe s/Bool "If false only admin can login") + :scim-status (describe SCIMStatus "Determine if your Org is activated or not (allowed values are activated or waiting-activation)") + :settings OrgUserSettings + :idp-mapping OrgIdPMapping + :address OrgAddress + :activation-metas ActivationMetas}))) +#+END_SRC **** DONE back to work :work: :LOGBOOK: CLOCK: [2020-09-29 Tue 13:57]--[2020-09-29 Tue 14:04] => 0:07