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:
Andrey Antukh 2024-11-15 15:43:45 +01:00
parent 0e99b37c21
commit b7573c0b72
7 changed files with 29 additions and 16 deletions

View file

@ -139,7 +139,8 @@
features (-> (cfeat/get-team-enabled-features cf/flags team)
(cfeat/check-client-features! (:features params))
(cfeat/check-file-features! (:features file) (:features params)))
(cfeat/check-file-features! (:features file) (:features params))
(set/difference cfeat/frontend-only-features))
changes (if changes-with-metadata
(->> changes-with-metadata (mapcat :changes) vec)