compucorp / uk.co.compucorp.membershipextras

Membership Extras for CiviCRM
Other
5 stars 8 forks source link

CIWEMB-372: Allow CiviCRM Admin to access Payment Schemes #479

Closed ahed-compucorp closed 1 year ago

ahed-compucorp commented 1 year ago

Overview

This PR allows users with the CiviCRM Admin roles to access "Payment Schemes"

Before

Authenticated users with the "CiviCRM Admin" role cannot access the "Payment Schemes" page

Screenshot from 2023-07-17 21-26-42

After

Authenticated users with the "CiviCRM Admin" role can access the "Payment Schemes" page

CIWEMB-372-after.webm

Technical Details

I've altered the "Payment Schemes" menu item to allow users with the permission "administer CiviCRM" to access the related page:

-    <access_arguments>administer MembershipExtras</access_arguments>
+    <access_arguments>administer CiviCRM;administer MembershipExtras</access_arguments>

These menu items were created as part of the PRs #452 and #453.

ahed-compucorp commented 1 year ago

Wrong ticket number, please see the new PR https://github.com/compucorp/uk.co.compucorp.membershipextras/pull/480