1
Fork 0
mirror of https://github.com/Steffo99/sophon.git synced 2025-01-08 06:49:47 +00:00

🚧 Create visibility field in the database

This commit is contained in:
Steffo 2021-04-12 16:05:48 +02:00 committed by Stefano Pigozzi
parent be1a2c0e03
commit 0a545a4336

View file

@ -322,6 +322,17 @@ class Project(models.Model):
blank=True,
)
visibility = models.CharField(
"Visibility",
help_text="A setting specifying who can view the project.",
choices=[
("PUBLIC", "🌍 Public"),
("INTERNAL", "🏭 Internal"),
("PRIVATE", "🔒 Private"),
],
default="INTERNAL",
)
flows = models.ManyToManyField(
DataFlow,
help_text="The DataFlows used in this project.",