tracker.org

This commit is contained in:
Yann Esposito (Yogsototh) 2020-09-29 14:09:33 +02:00
parent 06da1f3166
commit 18f25bd794
Signed by untrusted user who does not match committer: yogsototh
GPG key ID: 7B19A4C650D59646

View file

@ -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