-
Notifications
You must be signed in to change notification settings - Fork 14
Admin buttons permissions #5871
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
pavlo-mk
wants to merge
32
commits into
develop
Choose a base branch
from
perms_admin_button
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
02346de
add perms for admin button
pavlo-mk b08a66f
add new perms
pavlo-mk a00a747
Merge branch 'develop' into perms_admin_button
pavlo-mk 61a5740
migrations
pavlo-mk ae2b7a0
tests
pavlo-mk 3276d85
tests again
pavlo-mk 2227112
tests group id
pavlo-mk 2a53fd4
tests_groups
pavlo-mk 7da74aa
tests_groups fixtures
pavlo-mk cba02a0
test_groups.py
pavlo-mk 0000334
Merge branch 'develop' into perms_admin_button
pavlo-mk ede269c
revert changes test_groups.py
pavlo-mk 0af4291
fixtures
pavlo-mk feb531a
revert all test_groups.py changes
pavlo-mk e961c47
update fixtures group
pavlo-mk 04551b8
update fixtures
pavlo-mk 2a36aa2
revert test_groups.py
pavlo-mk 4e20934
passed locally
pavlo-mk 93e2dca
CI test
pavlo-mk eaf89da
CI test
pavlo-mk 78d5517
use get perms
pavlo-mk 9cfee1a
test_groups
pavlo-mk 4181155
test_groups fixtures
pavlo-mk afdb51f
conflicts & review part 1
pavlo-mk ac0fdae
migrations
pavlo-mk 68a54be
add migrations
pavlo-mk b03d215
review part 2
pavlo-mk ae8e7cb
new HH migration
pavlo-mk 4adc0f7
fix lambda permission
pavlo-mk a2c19a4
review
pavlo-mk 4e1f520
Merge branch 'develop' into perms_admin_button
pavlo-mk 8cb6afa
migrations
pavlo-mk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,19 @@ | ||
| # Generated by Django 5.2.12 on 2026-04-15 12:20 | ||
|
|
||
| from django.db import migrations | ||
|
|
||
|
|
||
| class Migration(migrations.Migration): | ||
| dependencies = [ | ||
| ("api", "0005_migration"), | ||
| ] | ||
|
|
||
| operations = [ | ||
| migrations.AlterModelOptions( | ||
| name="apitoken", | ||
| options={ | ||
| "ordering": ("id",), | ||
| "permissions": (("resend_token_email", "Can resend an email with token"),), | ||
| }, | ||
| ), | ||
| ] |
This file contains hidden or 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,32 @@ | ||
| # Generated by Django 5.2.12 on 2026-04-14 21:18 | ||
|
|
||
| from django.db import migrations | ||
|
|
||
|
|
||
| class Migration(migrations.Migration): | ||
| dependencies = [ | ||
| ("account", "0028_migration"), | ||
| ] | ||
|
|
||
| operations = [ | ||
| migrations.AlterModelOptions( | ||
| name="user", | ||
| options={ | ||
| "ordering": ("id",), | ||
| "permissions": ( | ||
| ("can_load_from_ad", "Can load users from ActiveDirectory"), | ||
| ("can_sync_with_ad", "Can synchronise user with ActiveDirectory"), | ||
| ("can_debug", "Can access debug information"), | ||
| ("can_inspect", "Can inspect objects"), | ||
| ("quick_links", "Can see quick links in admin"), | ||
| ("restrict_help_desk", "Limit fields to be editable for help desk"), | ||
| ("can_reindex_programs", "Can reindex programs"), | ||
| ("can_add_business_area_to_partner", "Can add business area to partner"), | ||
| ("can_change_allowed_partners", "Can change allowed partners"), | ||
| ("can_change_area_limits", "Can change area limits"), | ||
| ("can_import_fixture", "Can import fixture"), | ||
| ("ad_users", "Can import AD users"), | ||
| ), | ||
| }, | ||
| ), | ||
| ] |
This file contains hidden or 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,25 @@ | ||
| # Generated by Django 5.2.12 on 2026-04-15 12:20 | ||
|
|
||
| from django.db import migrations | ||
|
|
||
|
|
||
| class Migration(migrations.Migration): | ||
| dependencies = [ | ||
| ("core", "0021_migration"), | ||
| ] | ||
|
|
||
| operations = [ | ||
| migrations.AlterModelOptions( | ||
| name="businessarea", | ||
| options={ | ||
| "ordering": ["name"], | ||
| "permissions": ( | ||
| ("can_split", "Can split BusinessArea"), | ||
| ("ping_rapidpro", "Can test RapidPRO connection"), | ||
| ("execute_sync_rapid_pro", "Can execute RapidPRO sync"), | ||
| ("mark_submissions", "Can mark submissions"), | ||
| ("reset_sync_date", "Can reset sync date"), | ||
| ), | ||
| }, | ||
| ), | ||
| ] |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.