mirror of
https://github.com/penpot/penpot.git
synced 2025-06-07 11:41:41 +02:00
Merge remote-tracking branch 'origin/bugfixes' into develop
This commit is contained in:
commit
bfbc715977
14 changed files with 99 additions and 89 deletions
|
@ -185,12 +185,12 @@
|
|||
total (count frames)
|
||||
locale (mf/deref i18n/locale)
|
||||
profile (mf/deref refs/profile)
|
||||
anonymous? (= uuid/zero (:id profile))
|
||||
teams (mf/deref refs/teams)
|
||||
|
||||
team-id (get-in data [:project :team-id])
|
||||
|
||||
has-permission? (and (not anonymous?)
|
||||
(contains? (:teams profile) team-id))
|
||||
has-permission? (and (not= uuid/zero (:id profile))
|
||||
(contains? teams team-id))
|
||||
|
||||
project-id (get-in data [:project :id])
|
||||
file-id (get-in data [:file :id])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue