]> git.agnieray.net Git - galette.git/commitdiff
Fix myContributions route ACLs
authorJohan Cwiklinski <johan@x-tnd.be>
Mon, 13 Mar 2023 17:49:39 +0000 (18:49 +0100)
committerJohan Cwiklinski <johan@x-tnd.be>
Mon, 13 Mar 2023 19:45:27 +0000 (20:45 +0100)
closes #1675

galette/includes/core_acls.php

index 66c8cecfc73c579a97cfd46789ebf7fbaa955854..eaef540488938da927bd9332f09a26f548a45e80 100644 (file)
@@ -7,7 +7,7 @@
  *
  * PHP version 5
  *
- * Copyright © 2020 The Galette Team
+ * Copyright © 2020-2023 The Galette Team
  *
  * This file is part of Galette (http://galette.tuxfamily.org).
  *
@@ -28,7 +28,7 @@
  * @package   Galette
  *
  * @author    Johan Cwiklinski <johan@x-tnd.be>
- * @copyright 2020 The Galette Team
+ * @copyright 2020-2023 The Galette Team
  * @license   http://www.gnu.org/licenses/gpl-3.0.html GPL License 3.0 or (at your option) any later version
  * @link      http://galette.tuxfamily.org
  * @since     0.9.4dev - 2020-05-10
@@ -64,6 +64,7 @@ $core_acls = [
     // Contributions rules
     'contributions'                     => 'member',
     'printContribution'                 => 'member',
+    'myContributions'                   => 'member',
     '/(.+)?contribution(.+)?/i'         => 'staff',
     '/(.+)?transaction(.+)?/i'          => 'staff',
     // /Contributions rules