Merge branch 'secondary-addresses' into 'master'
Check permissions on secondary addresses too

This branch changes permissions detection to take the secondary email addresses into account.

Previously, if one were an owner or a moderator on a list with a linked address different from the main address, Postorius would not show the admin menu.

See merge request !39
commit 6b5d0ffaa17d143086d70c9408b310e7854bb810
2 parents bb8cc40 + 9ffe865
@Aurélien Bompard Aurélien Bompard authored on 11 Nov 2015
Showing 22 changed files
View
src/postorius/auth/decorators.py
View
src/postorius/templates/postorius/user_profile.html
View
src/postorius/tests/fixtures/vcr_cassettes/list_members_access.yaml
View
src/postorius/tests/fixtures/vcr_cassettes/list_members_page.yaml
View
src/postorius/tests/fixtures/vcr_cassettes/test_change_subscription-2.yaml
View
src/postorius/tests/fixtures/vcr_cassettes/test_change_subscription.yaml
View
src/postorius/tests/fixtures/vcr_cassettes/test_list_members_add_moderator.yaml
View
src/postorius/tests/fixtures/vcr_cassettes/test_list_members_add_owner.yaml
View
src/postorius/tests/fixtures/vcr_cassettes/test_list_members_new_moderator_added.yaml
View
src/postorius/tests/fixtures/vcr_cassettes/test_list_metrics.yaml
View
src/postorius/tests/fixtures/vcr_cassettes/test_list_subscription.yaml
View
src/postorius/tests/fixtures/vcr_cassettes/test_list_subscription_moderate.yaml
View
src/postorius/tests/fixtures/vcr_cassettes/test_list_summary.yaml
View
src/postorius/tests/fixtures/vcr_cassettes/test_list_summary_moderator.yaml 0 → 100644
View
src/postorius/tests/fixtures/vcr_cassettes/test_list_summary_owner.yaml 0 → 100644
View
src/postorius/tests/fixtures/vcr_cassettes/test_list_summary_secondary_moderator.yaml 0 → 100644
View
src/postorius/tests/fixtures/vcr_cassettes/test_list_summary_secondary_owner.yaml 0 → 100644
View
src/postorius/tests/mailman_api_tests/test_list_summary.py
View
src/postorius/utils.py
View
src/postorius/views/generic.py
View
src/postorius/views/list.py
View
src/postorius/views/user.py