Commit da9125f9 by Damien Moulard

modif fixtures: ajout de droits pour l'admin des achats monnaie

parent a6221b20
...@@ -36,7 +36,7 @@ CORS_ALLOW_ORIGIN=^https?://localhost(:[0-9]+)?$ ...@@ -36,7 +36,7 @@ CORS_ALLOW_ORIGIN=^https?://localhost(:[0-9]+)?$
## PAYUM GATEWAYS CONFIGURATION ## ## PAYUM GATEWAYS CONFIGURATION ##
###> payum-payzen ### ###> payum-payzen ###
PAZEN_SITE_ID=ChangeMeWithYourPayzenCredentials PAYZEN_SITE_ID=ChangeMeWithYourPayzenCredentials
PAYZEN_CERTIFICATE=ChangeMeWithYourPayzenCredentials PAYZEN_CERTIFICATE=ChangeMeWithYourPayzenCredentials
PAYZEN_CTX_MODE=PRODUCTION PAYZEN_CTX_MODE=PRODUCTION
PAYZEN_DEBUG=false PAYZEN_DEBUG=false
......
[submodule "lib/ekyna/payum-payzen"]
path = lib/ekyna/payum-payzen
url = https://github.com/damienmoulard/PayumPayzen
...@@ -11,7 +11,7 @@ payum: ...@@ -11,7 +11,7 @@ payum:
factory: offline factory: offline
payzen: payzen:
factory: payzen factory: payzen
site_id: '%env(PAZEN_SITE_ID)%' site_id: '%env(PAYZEN_SITE_ID)%'
certificate: '%env(PAYZEN_CERTIFICATE)%' # Clé de TEST ou PRODUCTION certificate: '%env(PAYZEN_CERTIFICATE)%' # Clé de TEST ou PRODUCTION
ctx_mode: '%env(PAYZEN_CTX_MODE)%' # TEST ou PRODUCTION ctx_mode: '%env(PAYZEN_CTX_MODE)%' # TEST ou PRODUCTION
directory: '%kernel.project_dir%/transactions' directory: '%kernel.project_dir%/transactions'
......
...@@ -236,7 +236,7 @@ sonata_admin: ...@@ -236,7 +236,7 @@ sonata_admin:
items: items:
- admin.flux.gerer - admin.flux.gerer
- admin.all.cotisations - admin.all.cotisations
- admin.all.achats_monnaie - admin.all.achatsmonnaie
- admin.transfert.gerer - admin.transfert.gerer
- admin.transaction.gerer - admin.transaction.gerer
- admin.reconversion.gerer - admin.reconversion.gerer
......
...@@ -212,7 +212,7 @@ services: ...@@ -212,7 +212,7 @@ services:
calls: calls:
- [ setSecurity, ['@security.helper']] - [ setSecurity, ['@security.helper']]
admin.all.achats_monnaie: admin.all.achatsmonnaie:
class: App\Admin\AchatMonnaieAdmin class: App\Admin\AchatMonnaieAdmin
arguments: [~, App\Entity\AchatMonnaie, ~] arguments: [~, App\Entity\AchatMonnaie, ~]
tags: tags:
......
...@@ -35,6 +35,7 @@ App\Entity\Usergroup: ...@@ -35,6 +35,7 @@ App\Entity\Usergroup:
'ROLE_SONATA_USER_ADMIN_GROUP_ALL', 'ROLE_SONATA_USER_ADMIN_GROUP_ALL',
'ROLE_ADMIN_ADHERENT_GERER_ALL', 'ROLE_ADMIN_ADHERENT_GERER_ALL',
'ROLE_ADMIN_ALL_COTISATIONS_ALL', 'ROLE_ADMIN_ALL_COTISATIONS_ALL',
'ROLE_ADMIN_ALL_ACHATSMONNAIE_ALL',
'ROLE_ADMIN_GROUPE_GERER_ALL', 'ROLE_ADMIN_GROUPE_GERER_ALL',
'ROLE_ADMIN_GLOBALPARAMETER_GERER_ALL', 'ROLE_ADMIN_GLOBALPARAMETER_GERER_ALL',
'ROLE_ADMIN_TRANSFERT_GERER_ALL']] 'ROLE_ADMIN_TRANSFERT_GERER_ALL']]
...@@ -61,6 +62,7 @@ App\Entity\Usergroup: ...@@ -61,6 +62,7 @@ App\Entity\Usergroup:
__construct: ['Trésorier', [ __construct: ['Trésorier', [
'ROLE_TRESORIER', 'ROLE_TRESORIER',
'ROLE_ADMIN_ALL_COTISATIONS_ALL', 'ROLE_ADMIN_ALL_COTISATIONS_ALL',
'ROLE_ADMIN_ALL_ACHATSMONNAIE_ALL',
'ROLE_ADMIN_RECONVERSION_GERER_ALL', 'ROLE_ADMIN_RECONVERSION_GERER_ALL',
'ROLE_ADMIN_TRANSFERT_GERER_ALL']] 'ROLE_ADMIN_TRANSFERT_GERER_ALL']]
usergroup_gestiongroupe: usergroup_gestiongroupe:
...@@ -823,4 +825,3 @@ App\Entity\Rubrique: ...@@ -823,4 +825,3 @@ App\Entity\Rubrique:
# name: 'Vins' # name: 'Vins'
# content: <text(50)> # content: <text(50)>
# enabled: true # enabled: true
...@@ -35,6 +35,7 @@ App\Entity\Usergroup: ...@@ -35,6 +35,7 @@ App\Entity\Usergroup:
'ROLE_SONATA_USER_ADMIN_GROUP_ALL', 'ROLE_SONATA_USER_ADMIN_GROUP_ALL',
'ROLE_ADMIN_ADHERENT_GERER_ALL', 'ROLE_ADMIN_ADHERENT_GERER_ALL',
'ROLE_ADMIN_ALL_COTISATIONS_ALL', 'ROLE_ADMIN_ALL_COTISATIONS_ALL',
'ROLE_ADMIN_ALL_ACHATSMONNAIE_ALL',
'ROLE_ADMIN_GROUPE_GERER_ALL', 'ROLE_ADMIN_GROUPE_GERER_ALL',
'ROLE_ADMIN_GLOBALPARAMETER_GERER_ALL', 'ROLE_ADMIN_GLOBALPARAMETER_GERER_ALL',
'ROLE_ADMIN_TRANSFERT_GERER_ALL']] 'ROLE_ADMIN_TRANSFERT_GERER_ALL']]
...@@ -61,6 +62,7 @@ App\Entity\Usergroup: ...@@ -61,6 +62,7 @@ App\Entity\Usergroup:
__construct: ['Trésorier', [ __construct: ['Trésorier', [
'ROLE_TRESORIER', 'ROLE_TRESORIER',
'ROLE_ADMIN_ALL_COTISATIONS_ALL', 'ROLE_ADMIN_ALL_COTISATIONS_ALL',
'ROLE_ADMIN_ALL_ACHATSMONNAIE_ALL',
'ROLE_ADMIN_RECONVERSION_GERER_ALL', 'ROLE_ADMIN_RECONVERSION_GERER_ALL',
'ROLE_ADMIN_TRANSFERT_GERER_ALL']] 'ROLE_ADMIN_TRANSFERT_GERER_ALL']]
usergroup_gestiongroupe: usergroup_gestiongroupe:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment