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]+)?$
## PAYUM GATEWAYS CONFIGURATION ##
###> payum-payzen ###
PAZEN_SITE_ID=ChangeMeWithYourPayzenCredentials
PAYZEN_SITE_ID=ChangeMeWithYourPayzenCredentials
PAYZEN_CERTIFICATE=ChangeMeWithYourPayzenCredentials
PAYZEN_CTX_MODE=PRODUCTION
PAYZEN_DEBUG=false
......
[submodule "lib/ekyna/payum-payzen"]
path = lib/ekyna/payum-payzen
url = https://github.com/damienmoulard/PayumPayzen
......@@ -11,7 +11,7 @@ payum:
factory: offline
payzen:
factory: payzen
site_id: '%env(PAZEN_SITE_ID)%'
site_id: '%env(PAYZEN_SITE_ID)%'
certificate: '%env(PAYZEN_CERTIFICATE)%' # Clé de TEST ou PRODUCTION
ctx_mode: '%env(PAYZEN_CTX_MODE)%' # TEST ou PRODUCTION
directory: '%kernel.project_dir%/transactions'
......
......@@ -236,7 +236,7 @@ sonata_admin:
items:
- admin.flux.gerer
- admin.all.cotisations
- admin.all.achats_monnaie
- admin.all.achatsmonnaie
- admin.transfert.gerer
- admin.transaction.gerer
- admin.reconversion.gerer
......
......@@ -212,7 +212,7 @@ services:
calls:
- [ setSecurity, ['@security.helper']]
admin.all.achats_monnaie:
admin.all.achatsmonnaie:
class: App\Admin\AchatMonnaieAdmin
arguments: [~, App\Entity\AchatMonnaie, ~]
tags:
......
......@@ -22,7 +22,7 @@ App\Entity\TypePrestataire:
name: 'Prestataire'
typepresta2:
name: 'Partenaire'
App\Entity\Usergroup:
usergroup_adherent:
__construct: ['Adherent', ['ROLE_ADHERENT']]
......@@ -35,6 +35,7 @@ App\Entity\Usergroup:
'ROLE_SONATA_USER_ADMIN_GROUP_ALL',
'ROLE_ADMIN_ADHERENT_GERER_ALL',
'ROLE_ADMIN_ALL_COTISATIONS_ALL',
'ROLE_ADMIN_ALL_ACHATSMONNAIE_ALL',
'ROLE_ADMIN_GROUPE_GERER_ALL',
'ROLE_ADMIN_GLOBALPARAMETER_GERER_ALL',
'ROLE_ADMIN_TRANSFERT_GERER_ALL']]
......@@ -61,6 +62,7 @@ App\Entity\Usergroup:
__construct: ['Trésorier', [
'ROLE_TRESORIER',
'ROLE_ADMIN_ALL_COTISATIONS_ALL',
'ROLE_ADMIN_ALL_ACHATSMONNAIE_ALL',
'ROLE_ADMIN_RECONVERSION_GERER_ALL',
'ROLE_ADMIN_TRANSFERT_GERER_ALL']]
usergroup_gestiongroupe:
......@@ -823,4 +825,3 @@ App\Entity\Rubrique:
# name: 'Vins'
# content: <text(50)>
# enabled: true
......@@ -22,7 +22,7 @@ App\Entity\TypePrestataire:
name: 'Prestataire'
typepresta2:
name: 'Partenaire'
App\Entity\Usergroup:
usergroup_adherent:
__construct: ['Adherent', ['ROLE_ADHERENT']]
......@@ -35,6 +35,7 @@ App\Entity\Usergroup:
'ROLE_SONATA_USER_ADMIN_GROUP_ALL',
'ROLE_ADMIN_ADHERENT_GERER_ALL',
'ROLE_ADMIN_ALL_COTISATIONS_ALL',
'ROLE_ADMIN_ALL_ACHATSMONNAIE_ALL',
'ROLE_ADMIN_GROUPE_GERER_ALL',
'ROLE_ADMIN_GLOBALPARAMETER_GERER_ALL',
'ROLE_ADMIN_TRANSFERT_GERER_ALL']]
......@@ -61,6 +62,7 @@ App\Entity\Usergroup:
__construct: ['Trésorier', [
'ROLE_TRESORIER',
'ROLE_ADMIN_ALL_COTISATIONS_ALL',
'ROLE_ADMIN_ALL_ACHATSMONNAIE_ALL',
'ROLE_ADMIN_RECONVERSION_GERER_ALL',
'ROLE_ADMIN_TRANSFERT_GERER_ALL']]
usergroup_gestiongroupe:
......@@ -643,7 +645,7 @@ App\Entity\Groupe:
content: '<text(200)>'
compte: '<randomFloat(2, 1000, 2000)>'
siege: '@siege_1'
App\Entity\Geoloc:
geoloc{1..50}:
adresse: '<streetAddress()>'
......
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