access restrictions can be set to public to make them available to everyone (even not logged in users)
public access restrictions do not count to the unlocked areas count
This commit is contained in:
parent
8a3d3bc18f
commit
1d4703f86f
4 changed files with 53 additions and 18 deletions
|
@ -0,0 +1,24 @@
|
|||
# Generated by Django 4.2.7 on 2023-12-20 22:25
|
||||
|
||||
import c3nav.mapdata.fields
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('mapdata', '0092_accesspermission_by_group'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RenameField(
|
||||
model_name='accessrestriction',
|
||||
old_name='open',
|
||||
new_name='public',
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='accessrestriction',
|
||||
name='public',
|
||||
field=models.BooleanField(default=False, verbose_name='public'),
|
||||
),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue