tracker.org
This commit is contained in:
parent
098d46aa8a
commit
4ab8a0a1c8
1 changed files with 7 additions and 2 deletions
|
@ -755,12 +755,17 @@ CLOCK: [2021-10-26 Tue 14:25]
|
|||
2. hack the User service, to create a fake org-level user.
|
||||
|
||||
#+begin_src clojure
|
||||
(get-user (str org-id "-admin"))
|
||||
(get-user org-id)
|
||||
|
||||
=> {:user-id (str org-id "-admin")
|
||||
=> {:user-id org-id
|
||||
:org-id org-id
|
||||
:role "admin"
|
||||
:scopes ,,,,}
|
||||
#+end_src
|
||||
|
||||
search for entities, you should search for the owned entities + (if you are
|
||||
an admin for the admin-level entities.)
|
||||
|
||||
|
||||
during the ~create-client~ to add the ability to create client with that
|
||||
specific owner.
|
||||
|
|
Loading…
Reference in a new issue