mirror of
https://github.com/jlengrand/bugsink.git
synced 2026-03-10 08:01:17 +00:00
Rename 'visible' => 'discoverable'
more clear that it's just the 'front door' we're talking about
This commit is contained in:
@@ -17,7 +17,7 @@ class Migration(migrations.Migration):
|
||||
('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
|
||||
('name', models.CharField(max_length=255, unique=True)),
|
||||
('slug', models.SlugField()),
|
||||
('visibility', models.IntegerField(choices=[(1, 'Joinable'), (10, 'Visible'), (99, 'Hidden')], default=10)),
|
||||
('visibility', models.IntegerField(choices=[(1, 'Joinable'), (10, 'Discoverable'), (99, 'Hidden')], default=10)),
|
||||
],
|
||||
),
|
||||
migrations.CreateModel(
|
||||
|
||||
@@ -13,7 +13,7 @@ class TeamRole(models.IntegerChoices):
|
||||
class TeamVisibility(models.IntegerChoices):
|
||||
# PUBLIC = 0 # anyone can see the team and its members not sure if I want this or always want to require click-in
|
||||
JOINABLE = 1 # anyone can join
|
||||
VISIBLE = 10 # the team is visible, you can request to join(?), but this needs to be approved
|
||||
DISCOVERABLE = 10 # the team is visible, you can request to join(?), but this needs to be approved
|
||||
HIDDEN = 99 # the team is not visible to non-members; you need to be invited
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user