0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-18 10:41:29 -05:00

Merge pull request #4530 from penpot/palba-fix-wrong-permissions

🐛 Fix inspect permission on shared prototype for owners
This commit is contained in:
Alejandro 2024-04-26 12:43:34 +02:00 committed by GitHub
commit 11f2d7e711
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -332,7 +332,7 @@
:title (tr "viewer.header.comments-section" (sc/get-tooltip :open-comments))}
i/comments])
(when (or (= (:type permissions) :membership)
(when (or (:in-team permissions)
(and (= (:type permissions) :share-link)
(= (:who-inspect permissions) "all")))
[:button {:on-click go-to-inspect