mirror of
https://github.com/penpot/penpot.git
synced 2025-07-17 22:47:14 +02:00
🐛 Fix unexpected unauthorized exception on read team members.
This commit is contained in:
parent
b7a90eb4e4
commit
4fbd2e6caa
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@
|
||||||
(sv/defmethod ::team-members
|
(sv/defmethod ::team-members
|
||||||
[{:keys [pool] :as cfg} {:keys [profile-id team-id]}]
|
[{:keys [pool] :as cfg} {:keys [profile-id team-id]}]
|
||||||
(with-open [conn (db/open pool)]
|
(with-open [conn (db/open pool)]
|
||||||
(check-edition-permissions! conn profile-id team-id)
|
(check-read-permissions! conn profile-id team-id)
|
||||||
(retrieve-team-members conn team-id)))
|
(retrieve-team-members conn team-id)))
|
||||||
|
|
||||||
(def sql:team-members
|
(def sql:team-members
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue