mirror of
https://github.com/penpot/penpot.git
synced 2025-06-06 06:21:38 +02:00
✨ Change frontend-only features automatic team assignation rules
The frontend-only features are now ignored from files and from teams and they do not autoassigns automatically to team and file on file creation or update operations.
This commit is contained in:
parent
0e99b37c21
commit
b7573c0b72
7 changed files with 29 additions and 16 deletions
|
@ -30,7 +30,8 @@
|
|||
[app.storage :as sto]
|
||||
[app.util.services :as sv]
|
||||
[app.util.time :as dt]
|
||||
[app.worker :as wrk]))
|
||||
[app.worker :as wrk]
|
||||
[clojure.set :as set]))
|
||||
|
||||
;; --- Helpers & Specs
|
||||
|
||||
|
@ -416,6 +417,7 @@
|
|||
::quotes/profile-id profile-id})
|
||||
|
||||
(let [features (-> (cfeat/get-enabled-features cf/flags)
|
||||
(set/difference cfeat/frontend-only-features)
|
||||
(cfeat/check-client-features! (:features params)))
|
||||
params (-> params
|
||||
(assoc :profile-id profile-id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue