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

feat: introduce update_timeslot permission

parent f3a86438
No related branches found
No related tags found
No related merge requests found
# Generated by Django 4.2.16 on 2024-10-08 21:13
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("program", "0116_alter_note_image_alter_notelink_type_and_more"),
]
operations = [
migrations.AlterModelOptions(
name="timeslot",
options={
"ordering": ("start", "end"),
"permissions": [
("edit__timeslot__memo", "Can edit memo field"),
("edit__timeslot__playlist_id", "Can edit media-source"),
("edit__timeslot__repetition_of", "Can edit repetition of field"),
("update_timeslot", "Can update timeslot"),
],
},
),
]
......@@ -464,6 +464,8 @@ class TimeSlot(models.Model):
("edit__timeslot__memo", "Can edit memo field"),
("edit__timeslot__playlist_id", "Can edit media-source"),
("edit__timeslot__repetition_of", "Can edit repetition of field"),
# overrides ownership
("update_timeslot", "Can update timeslot"),
]
def __str__(self):
......
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