mirror of
https://github.com/Steffo99/sophon.git
synced 2024-12-22 23:04:21 +00:00
🚧 Create visibility field in the database
This commit is contained in:
parent
6188ef9330
commit
0afdadeadc
1 changed files with 11 additions and 0 deletions
|
@ -322,6 +322,17 @@ class Project(models.Model):
|
||||||
blank=True,
|
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(
|
flows = models.ManyToManyField(
|
||||||
DataFlow,
|
DataFlow,
|
||||||
help_text="The DataFlows used in this project.",
|
help_text="The DataFlows used in this project.",
|
||||||
|
|
Loading…
Reference in a new issue