Skip to content
Snippets Groups Projects
Verified Commit 3c82c6f6 authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

fix: remove last uses of "topics" in permission names

parent 19f08df1
No related branches found
No related tags found
No related merge requests found
Pipeline #8334 passed
# Generated by Django 4.2.13 on 2024-07-22 20:04
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("program", "0113_alter_note_contributors_alter_timeslot_playlist_id"),
]
operations = [
migrations.AlterModelOptions(
name="note",
options={
"ordering": ("timeslot",),
"permissions": [
("edit__note__cba_id", "Can edit CBA id field"),
("edit__note__content", "Can edit content field"),
("edit__note__contributors", "Can edit contributor field"),
("edit__note__image", "Can edit image field"),
("edit__note__languages", "Can edit language field"),
("edit__note__links", "Can edit links field"),
("edit__note__playlist", "Can edit playlist field"),
("edit__note__summary", "Can edit summary field"),
("edit__note__tags", "Can edit tags field"),
("edit__note__title", "Can edit title field"),
("edit__note__topics", "Can edit topic field"),
("create_note", "Can create note"),
("update_note", "Can update note"),
],
},
),
]
......@@ -519,7 +519,7 @@ class Note(models.Model):
("edit__note__summary", "Can edit summary field"),
("edit__note__tags", "Can edit tags field"),
("edit__note__title", "Can edit title field"),
("edit__note__topics", "Can edit topics field"),
("edit__note__topics", "Can edit topic field"),
# overrides ownership
("create_note", "Can create note"),
("update_note", "Can update note"),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment