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:
commit
11f2d7e711
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue