Currently, the direct debit configuration can only be accessed with a user that has permission administer CiviCRM. In some systems like SaaS platform or even in some organisations, that may not want to give administer CiviCRM to the site administer but allows access to the certain admin pages and forms.
This PR adds new administer MembershipExtras permission and assign this permission to existing configuration pages that allows a system admin to assign a new permission to other roles, so the user with the role can access the setting pages without having a global administer CiviCRM permission.
Before
Only user that has administer CiviCRM permission can access Membership Extras configuration pages.
After
Either user that has administer CiviCRM or administer MembershipExtras permission can access Membership Extras configuration pages.
Overview
Currently, the direct debit configuration can only be accessed with a user that has permission
administer CiviCRM
. In some systems like SaaS platform or even in some organisations, that may not want to giveadminister CiviCRM
to the site administer but allows access to the certain admin pages and forms.This PR adds new
administer MembershipExtras
permission and assign this permission to existing configuration pages that allows a system admin to assign a new permission to other roles, so the user with the role can access the setting pages without having a globaladminister CiviCRM
permission.Before
Only user that has
administer CiviCRM
permission can access Membership Extras configuration pages.After
Either user that has
administer CiviCRM
oradminister MembershipExtras
permission can access Membership Extras configuration pages.