-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
INTR-311 Add a new
can_change_homepage_content
permission (#733)
- Loading branch information
Showing
4 changed files
with
102 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Home page editors | ||
|
||
Users in this group get the following permissions: | ||
|
||
## Global permissions | ||
|
||
- Can access Wagtail admin | ||
|
||
## User permissions | ||
|
||
- Can change home page content | ||
|
||
## Image permissions | ||
|
||
- Can add/edit/choose images belonging to the following collections: | ||
- **Root** | ||
|
||
## Media permissions | ||
|
||
- Can add/edit images belonging to the following collections: | ||
- **Root** | ||
|
||
## Collection management permissions | ||
|
||
!!! note | ||
I think this permission makes the document/image/media permissions redundant. | ||
|
||
- Can add to the following collection **Root** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Generated by Django 4.2.15 on 2024-09-12 14:38 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("home", "0010_homepage_priority_pages_layout"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterModelOptions( | ||
name="homepage", | ||
options={ | ||
"permissions": [ | ||
("can_change_home_page_content", "Can change home page content") | ||
], | ||
"verbose_name": "Home page", | ||
}, | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters