Skip to content

Commit

Permalink
🔥 cleanup: remove mentioning of tokenauth.is_superuser field, which w…
Browse files Browse the repository at this point in the history
…ill be introduced in the next version
  • Loading branch information
annashamray committed May 3, 2024
1 parent 276f600 commit ab6f3c2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
class Migration(migrations.Migration):
dependencies = [
("core", "0028_alter_objectrecord_data"),
("token", "0010_tokenauth_is_superuser"),
("token", "0009_alter_permission_fields"),
]

operations = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,6 @@ class Migration(migrations.Migration):
verbose_name="administration",
),
),
(
"is_superuser",
models.BooleanField(
default=False,
help_text="Designates whether the user has access to all objects.",
verbose_name="is superuser",
),
),
(
"object_types",
models.ManyToManyField(
Expand Down
2 changes: 0 additions & 2 deletions src/objects/token/migrations/0013_copy_token_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ def switch_to_new_token_model(apps, _):
"created": old_token.created,
"application": old_token.application,
"administration": old_token.administration,
"is_superuser": old_token.is_superuser,
},
)

Expand All @@ -41,7 +40,6 @@ def switch_to_old_token_model(apps, _):
"created": token.created,
"application": token.application,
"administration": token.administration,
"is_superuser": token.is_superuser,
},
)

Expand Down

0 comments on commit ab6f3c2

Please sign in to comment.