notes/cisco_ft_securex_registration.org
This commit is contained in:
parent
034c853cd2
commit
9ab48765fb
1 changed files with 3 additions and 5 deletions
|
@ -41,11 +41,9 @@ The algorithm should look a bit like:
|
||||||
;; only when this is an unknown user
|
;; only when this is an unknown user
|
||||||
(let [user-email ,,,
|
(let [user-email ,,,
|
||||||
domain (string/replace user-email #".*@" "")
|
domain (string/replace user-email #".*@" "")
|
||||||
users (matching-admins domain) ;; returns a potentially big list of users
|
users (matching-admins domain) ;; returns a potentially big list of admin users
|
||||||
orgs (group-by :org-id users)
|
indexed-orgs (group-by :org-id users)]
|
||||||
]
|
(vals indexed-orgs))
|
||||||
)
|
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Support Org request to admins
|
** Support Org request to admins
|
||||||
|
|
Loading…
Reference in a new issue