Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
steering
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AURA
steering
Commits
2e0b3270
Verified
Commit
2e0b3270
authored
7 months ago
by
Ernesto Rico Schmidt
Browse files
Options
Downloads
Patches
Plain Diff
fix: writing human readable permission names is hadr
parent
c3262246
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#8394
failed
7 months ago
Stage: check
Stage: test
Stage: build
Stage: deploy
Stage: release
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
program/models.py
+10
-10
10 additions, 10 deletions
program/models.py
with
10 additions
and
10 deletions
program/models.py
+
10
−
10
View file @
2e0b3270
...
...
@@ -277,17 +277,17 @@ class Show(models.Model):
ordering
=
(
"
slug
"
,)
permissions
=
[
(
"
display__show__internal_note
"
,
"
Can display internal note field
"
),
(
"
edit__show__categories
"
,
"
Can edit categor
y
field
"
),
(
"
edit__show__categories
"
,
"
Can edit categor
ies
field
"
),
(
"
edit__show__cba_series_id
"
,
"
Can edit cba series id field
"
),
(
"
edit__show__default_playlist_id
"
,
"
Can edit default media
source
"
),
(
"
edit__show__default_playlist_id
"
,
"
Can edit default media
-
source
"
),
(
"
edit__show__description
"
,
"
Can edit description field
"
),
(
"
edit__show__email
"
,
"
Can edit email field
"
),
(
"
edit__show__funding_categories
"
,
"
Can edit funding categor
y
field
"
),
(
"
edit__show__funding_categories
"
,
"
Can edit funding categor
ies
field
"
),
(
"
edit__show__hosts
"
,
"
Can edit hosts field
"
),
(
"
edit__show__image
"
,
"
Can edit image field
"
),
(
"
edit__show__internal_note
"
,
"
Can edit internal note field
"
),
(
"
edit__show__is_active
"
,
"
Can edit is active field
"
),
(
"
edit__show__languages
"
,
"
Can edit language field
"
),
(
"
edit__show__languages
"
,
"
Can edit language
s
field
"
),
(
"
edit__show__links
"
,
"
Can edit links field
"
),
(
"
edit__show__logo
"
,
"
Can edit logo field
"
),
(
"
edit__show__music_focuses
"
,
"
Can edit music focus field
"
),
...
...
@@ -296,7 +296,7 @@ class Show(models.Model):
(
"
edit__show__predecessor
"
,
"
Can edit predecessor field
"
),
(
"
edit__show__short_description
"
,
"
Can edit short description field
"
),
(
"
edit__show__slug
"
,
"
Can edit slug field
"
),
(
"
edit__show__topics
"
,
"
Can edit topic field
"
),
(
"
edit__show__topics
"
,
"
Can edit topic
s
field
"
),
(
"
edit__show__type
"
,
"
Can edit type field
"
),
# overrides ownership
(
"
update_show
"
,
"
Can update show
"
),
...
...
@@ -430,7 +430,7 @@ class Schedule(models.Model):
class
Meta
:
ordering
=
(
"
first_date
"
,
"
start_time
"
)
permissions
=
[
(
"
edit__schedule__default_playlist_id
"
,
"
Can edit default media
source
"
),
(
"
edit__schedule__default_playlist_id
"
,
"
Can edit default media
-
source
"
),
]
def
__str__
(
self
):
...
...
@@ -457,7 +457,7 @@ class TimeSlot(models.Model):
ordering
=
(
"
start
"
,
"
end
"
)
permissions
=
[
(
"
edit__timeslot__memo
"
,
"
Can edit memo field
"
),
(
"
edit__timeslot__playlist_id
"
,
"
Can edit media
source
"
),
(
"
edit__timeslot__playlist_id
"
,
"
Can edit media
-
source
"
),
(
"
edit__timeslot__repetition_of
"
,
"
Can edit repetition of field
"
),
]
...
...
@@ -513,15 +513,15 @@ class Note(models.Model):
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__contributors
"
,
"
Can edit contributor
s
field
"
),
(
"
edit__note__image
"
,
"
Can edit image field
"
),
(
"
edit__note__languages
"
,
"
Can edit language field
"
),
(
"
edit__note__languages
"
,
"
Can edit language
s
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
"
),
(
"
edit__note__topics
"
,
"
Can edit topic
s
field
"
),
# overrides ownership
(
"
create_note
"
,
"
Can create note
"
),
(
"
update_note
"
,
"
Can update note
"
),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment