tracker.org
This commit is contained in:
parent
62e8e336bc
commit
b58a0b29ef
1 changed files with 21 additions and 1 deletions
22
tracker.org
22
tracker.org
|
@ -272,7 +272,27 @@ To support CSA Migration it should be replaced by:
|
|||
})))
|
||||
#+END_SRC
|
||||
|
||||
This issue is about the very first step.
|
||||
This issue is about a first step toward this goal.
|
||||
|
||||
So at the end of this issue the schemas should be:
|
||||
|
||||
#+BEGIN_SRC clojure
|
||||
(s/defschema OrgIdPMapping
|
||||
{:idp (describe s/Str "Internal idp-id")
|
||||
(s/optional-key :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
|
||||
{:idp-mapping OrgIdPMapping
|
||||
,,,
|
||||
})))
|
||||
#+END_SRC
|
||||
|
||||
So
|
||||
**** DONE back to work :work:
|
||||
:LOGBOOK:
|
||||
CLOCK: [2020-09-29 Tue 13:57]--[2020-09-29 Tue 14:04] => 0:07
|
||||
|
|
Loading…
Reference in a new issue