compucorp / uk.co.compucorp.membershipextras

Membership Extras for CiviCRM
Other
5 stars 8 forks source link

CIWEMB-374: Allow CiviCRM Admin to access Payment Schemes #480

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</access_arguments>

Users with “Administer CiviCRM” permission only can add/edit/list the payment schemes as per the spec. file. Please note, these menu items were created as part of the PRs #452 and #453.

omarabuhussein commented 1 year ago

From reading the ticket comments we no longer need this, so closing it.