mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-09 12:30:15 +02:00
Drop default permissions for when we have defined perms
This commit is contained in:
parent
83a41fb982
commit
075d0650b0
@ -0,0 +1,17 @@
|
|||||||
|
# Generated by Django 5.1.6 on 2025-03-05 04:28
|
||||||
|
|
||||||
|
from django.db import migrations
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('fleetactivitytracking', '0008_v5squash'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterModelOptions(
|
||||||
|
name='fatlink',
|
||||||
|
options={'permissions': ()},
|
||||||
|
),
|
||||||
|
]
|
@ -14,7 +14,6 @@ class Fatlink(models.Model):
|
|||||||
creator = models.ForeignKey(User, on_delete=models.SET(get_sentinel_user))
|
creator = models.ForeignKey(User, on_delete=models.SET(get_sentinel_user))
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
default_permissions = ()
|
|
||||||
permissions = (
|
permissions = (
|
||||||
# Intentionally Commented out
|
# Intentionally Commented out
|
||||||
# AAv0 has these in the Auth_ Content Type
|
# AAv0 has these in the Auth_ Content Type
|
||||||
@ -35,7 +34,6 @@ class Fat(models.Model):
|
|||||||
user = models.ForeignKey(User, on_delete=models.CASCADE)
|
user = models.ForeignKey(User, on_delete=models.CASCADE)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
default_permissions = ()
|
|
||||||
unique_together = (("character", "fatlink"),)
|
unique_together = (("character", "fatlink"),)
|
||||||
|
|
||||||
def __str__(self) -> str:
|
def __str__(self) -> str:
|
||||||
|
@ -0,0 +1,17 @@
|
|||||||
|
# Generated by Django 5.1.6 on 2025-03-05 04:28
|
||||||
|
|
||||||
|
from django.db import migrations
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('notifications', '0006_v5squash'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterModelOptions(
|
||||||
|
name='notification',
|
||||||
|
options={'permissions': ()},
|
||||||
|
),
|
||||||
|
]
|
@ -59,7 +59,6 @@ class Notification(models.Model):
|
|||||||
objects = NotificationManager()
|
objects = NotificationManager()
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
default_permissions = ()
|
|
||||||
permissions = (
|
permissions = (
|
||||||
# Intentionally Commented out
|
# Intentionally Commented out
|
||||||
# AAv0 has these in the Auth_ Content Type
|
# AAv0 has these in the Auth_ Content Type
|
||||||
|
@ -0,0 +1,17 @@
|
|||||||
|
# Generated by Django 5.1.6 on 2025-03-05 04:26
|
||||||
|
|
||||||
|
from django.db import migrations
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('discord', '0004_v5squash'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterModelOptions(
|
||||||
|
name='discorduser',
|
||||||
|
options={'default_permissions': (), 'permissions': (('access_discord', 'Can access the Discord service'),)},
|
||||||
|
),
|
||||||
|
]
|
@ -40,6 +40,7 @@ class DiscordUser(models.Model):
|
|||||||
objects = DiscordUserManager()
|
objects = DiscordUserManager()
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
|
default_permissions = ()
|
||||||
permissions = (("access_discord", "Can access the Discord service"),)
|
permissions = (("access_discord", "Can access the Discord service"),)
|
||||||
|
|
||||||
def __str__(self) -> str:
|
def __str__(self) -> str:
|
||||||
|
@ -0,0 +1,17 @@
|
|||||||
|
# Generated by Django 5.1.6 on 2025-03-05 04:26
|
||||||
|
|
||||||
|
from django.db import migrations
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('discourse', '0003_v5squash'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterModelOptions(
|
||||||
|
name='discourseuser',
|
||||||
|
options={'default_permissions': (), 'permissions': (('access_discourse', 'Can access the Discourse service'),)},
|
||||||
|
),
|
||||||
|
]
|
@ -7,6 +7,7 @@ class DiscourseUser(models.Model):
|
|||||||
enabled = models.BooleanField()
|
enabled = models.BooleanField()
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
|
default_permissions = ()
|
||||||
permissions = (("access_discourse", "Can access the Discourse service"),)
|
permissions = (("access_discourse", "Can access the Discourse service"),)
|
||||||
|
|
||||||
def __str__(self) -> str:
|
def __str__(self) -> str:
|
||||||
|
@ -0,0 +1,17 @@
|
|||||||
|
# Generated by Django 5.1.6 on 2025-03-05 04:26
|
||||||
|
|
||||||
|
from django.db import migrations
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('ips4', '0003_v5squash'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterModelOptions(
|
||||||
|
name='ips4user',
|
||||||
|
options={'default_permissions': (), 'permissions': (('access_ips4', 'Can access the IPS4 service'),)},
|
||||||
|
),
|
||||||
|
]
|
@ -8,6 +8,7 @@ class Ips4User(models.Model):
|
|||||||
id = models.CharField(max_length=254)
|
id = models.CharField(max_length=254)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
|
default_permissions = ()
|
||||||
permissions = (("access_ips4", "Can access the IPS4 service"),)
|
permissions = (("access_ips4", "Can access the IPS4 service"),)
|
||||||
|
|
||||||
def __str__(self) -> str:
|
def __str__(self) -> str:
|
||||||
|
@ -0,0 +1,17 @@
|
|||||||
|
# Generated by Django 5.1.6 on 2025-03-05 04:26
|
||||||
|
|
||||||
|
from django.db import migrations
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('mumble', '0015_v5squash'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterModelOptions(
|
||||||
|
name='mumbleuser',
|
||||||
|
options={'default_permissions': (), 'permissions': (('access_mumble', 'Can access the Mumble service'), ('view_connection_history', 'Can access the connection history of the Mumble service'))},
|
||||||
|
),
|
||||||
|
]
|
@ -152,6 +152,7 @@ class MumbleUser(AbstractServiceModel):
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
|
default_permissions = ()
|
||||||
permissions = (
|
permissions = (
|
||||||
("access_mumble", "Can access the Mumble service"),
|
("access_mumble", "Can access the Mumble service"),
|
||||||
("view_connection_history", "Can access the connection history of the Mumble service"),
|
("view_connection_history", "Can access the connection history of the Mumble service"),
|
||||||
|
@ -0,0 +1,17 @@
|
|||||||
|
# Generated by Django 5.1.6 on 2025-03-05 04:23
|
||||||
|
|
||||||
|
from django.db import migrations
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('openfire', '0003_v5squash'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterModelOptions(
|
||||||
|
name='openfireuser',
|
||||||
|
options={'default_permissions': (), 'permissions': (('access_openfire', 'Can access the Openfire service'),)},
|
||||||
|
),
|
||||||
|
]
|
@ -0,0 +1,17 @@
|
|||||||
|
# Generated by Django 5.1.6 on 2025-03-05 04:26
|
||||||
|
|
||||||
|
from django.db import migrations
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('phpbb3', '0003_v5squash'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterModelOptions(
|
||||||
|
name='phpbb3user',
|
||||||
|
options={'default_permissions': (), 'permissions': (('access_phpbb3', 'Can access the phpBB3 service'),)},
|
||||||
|
),
|
||||||
|
]
|
@ -6,6 +6,7 @@ class Phpbb3User(models.Model):
|
|||||||
username = models.CharField(max_length=254)
|
username = models.CharField(max_length=254)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
|
default_permissions = ()
|
||||||
permissions = (("access_phpbb3", "Can access the phpBB3 service"),)
|
permissions = (("access_phpbb3", "Can access the phpBB3 service"),)
|
||||||
|
|
||||||
def __str__(self) -> str:
|
def __str__(self) -> str:
|
||||||
|
@ -0,0 +1,17 @@
|
|||||||
|
# Generated by Django 5.1.6 on 2025-03-05 04:26
|
||||||
|
|
||||||
|
from django.db import migrations
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('smf', '0004_v5squash'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterModelOptions(
|
||||||
|
name='smfuser',
|
||||||
|
options={'default_permissions': (), 'permissions': (('access_smf', 'Can access the SMF service'),)},
|
||||||
|
),
|
||||||
|
]
|
@ -6,6 +6,7 @@ class SmfUser(models.Model):
|
|||||||
username = models.CharField(max_length=254)
|
username = models.CharField(max_length=254)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
|
default_permissions = ()
|
||||||
permissions = (("access_smf", "Can access the SMF service"),)
|
permissions = (("access_smf", "Can access the SMF service"),)
|
||||||
|
|
||||||
def __str__(self) -> str:
|
def __str__(self) -> str:
|
||||||
|
@ -0,0 +1,17 @@
|
|||||||
|
# Generated by Django 5.1.6 on 2025-03-05 04:26
|
||||||
|
|
||||||
|
from django.db import migrations
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('teamspeak3', '0006_v5squash'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterModelOptions(
|
||||||
|
name='teamspeak3user',
|
||||||
|
options={'default_permissions': (), 'permissions': (('access_teamspeak3', 'Can access the Teamspeak3 service'),)},
|
||||||
|
),
|
||||||
|
]
|
@ -10,6 +10,7 @@ class Teamspeak3User(models.Model):
|
|||||||
perm_key = models.CharField(max_length=254)
|
perm_key = models.CharField(max_length=254)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
|
default_permissions = ()
|
||||||
permissions = (("access_teamspeak3", "Can access the Teamspeak3 service"),)
|
permissions = (("access_teamspeak3", "Can access the Teamspeak3 service"),)
|
||||||
|
|
||||||
def __str__(self) -> str:
|
def __str__(self) -> str:
|
||||||
|
@ -0,0 +1,17 @@
|
|||||||
|
# Generated by Django 5.1.6 on 2025-03-05 04:26
|
||||||
|
|
||||||
|
from django.db import migrations
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('xenforo', '0003_v5squash'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterModelOptions(
|
||||||
|
name='xenforouser',
|
||||||
|
options={'default_permissions': (), 'permissions': (('access_xenforo', 'Can access the XenForo service'),)},
|
||||||
|
),
|
||||||
|
]
|
@ -6,6 +6,7 @@ class XenforoUser(models.Model):
|
|||||||
username = models.CharField(max_length=254)
|
username = models.CharField(max_length=254)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
|
default_permissions = ()
|
||||||
permissions = (("access_xenforo", "Can access the XenForo service"),)
|
permissions = (("access_xenforo", "Can access the XenForo service"),)
|
||||||
|
|
||||||
def __str__(self) -> str:
|
def __str__(self) -> str:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user