mirror of
https://github.com/penpot/penpot.git
synced 2026-02-14 07:33:04 +00:00
🐛 Fix unexpected unauthorized exception on read team members.
This commit is contained in:
committed by
Alonso Torres
parent
b7a90eb4e4
commit
4fbd2e6caa
@@ -111,7 +111,7 @@
|
||||
(sv/defmethod ::team-members
|
||||
[{:keys [pool] :as cfg} {:keys [profile-id team-id]}]
|
||||
(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)))
|
||||
|
||||
(def sql:team-members
|
||||
|
||||
Reference in New Issue
Block a user