Project API and globalActivities flag (#3564)

* expose globalActivities setting in project entity
* fix globalActivities being true by default if created via API
This commit is contained in:
Kevin Papst
2022-10-01 18:14:22 +02:00
committed by GitHub
parent 6cfcbccabc
commit 1d445d9eb6
5 changed files with 82 additions and 0 deletions

View File

@@ -257,6 +257,9 @@ class Project implements EntityWithMetaFields, EntityWithBudget
*
* @var bool
*
* @Serializer\Expose()
* @Serializer\Groups({"Default"})
*
* @ORM\Column(name="global_activities", type="boolean", nullable=false, options={"default": true})
* @Assert\NotNull()
*/