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
3c82c6f6
Verified
Commit
3c82c6f6
authored
8 months ago
by
Ernesto Rico Schmidt
Browse files
Options
Downloads
Patches
Plain Diff
fix: remove last uses of "topics" in permission names
parent
19f08df1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#8334
passed
8 months ago
Stage: check
Stage: test
Stage: build
Stage: deploy
Stage: release
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
program/migrations/0114_alter_note_options.py
+34
-0
34 additions, 0 deletions
program/migrations/0114_alter_note_options.py
program/models.py
+1
-1
1 addition, 1 deletion
program/models.py
with
35 additions
and
1 deletion
program/migrations/0114_alter_note_options.py
0 → 100644
+
34
−
0
View file @
3c82c6f6
# 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
"
),
],
},
),
]
This diff is collapsed.
Click to expand it.
program/models.py
+
1
−
1
View file @
3c82c6f6
...
...
@@ -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 topic
s
field
"
),
(
"
edit__note__topics
"
,
"
Can edit topic 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