Skip to content

Commit ab6f3c2

Browse files
committed
🔥 cleanup: remove mentioning of tokenauth.is_superuser field, which will be introduced in the next version
1 parent 276f600 commit ab6f3c2

3 files changed

+1
-11
lines changed

src/objects/token/migrations/0011_rename_tokenauth_oldtokenauth_and_more.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
class Migration(migrations.Migration):
77
dependencies = [
88
("core", "0028_alter_objectrecord_data"),
9-
("token", "0010_tokenauth_is_superuser"),
9+
("token", "0009_alter_permission_fields"),
1010
]
1111

1212
operations = [

src/objects/token/migrations/0012_tokenauth_permission_token_auth.py

-8
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,6 @@ class Migration(migrations.Migration):
8383
verbose_name="administration",
8484
),
8585
),
86-
(
87-
"is_superuser",
88-
models.BooleanField(
89-
default=False,
90-
help_text="Designates whether the user has access to all objects.",
91-
verbose_name="is superuser",
92-
),
93-
),
9486
(
9587
"object_types",
9688
models.ManyToManyField(

src/objects/token/migrations/0013_copy_token_auth.py

-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ def switch_to_new_token_model(apps, _):
1616
"created": old_token.created,
1717
"application": old_token.application,
1818
"administration": old_token.administration,
19-
"is_superuser": old_token.is_superuser,
2019
},
2120
)
2221

@@ -41,7 +40,6 @@ def switch_to_old_token_model(apps, _):
4140
"created": token.created,
4241
"application": token.application,
4342
"administration": token.administration,
44-
"is_superuser": token.is_superuser,
4543
},
4644
)
4745

0 commit comments

Comments
 (0)