feat(tenancy): Add is_ global field

Allow global item creation where all can access if they have the correct permission

!1
This commit is contained in:
2024-05-14 01:40:31 +09:30
parent 2fe15778cb
commit 857aa7af72
4 changed files with 19 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# Generated by Django 5.0.4 on 2024-05-13 15:30
# Generated by Django 5.0.4 on 2024-05-13 16:08
import access.fields
import django.contrib.auth.models
@ -36,6 +36,7 @@ class Migration(migrations.Migration):
name='Team',
fields=[
('group_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='auth.group')),
('is_global', models.BooleanField(default=False)),
('team_name', models.CharField(default='', max_length=50, verbose_name='Name')),
('created', access.fields.AutoCreatedField(default=django.utils.timezone.now, editable=False)),
('modified', access.fields.AutoLastModifiedField(default=django.utils.timezone.now, editable=False)),