Commit fbf72e45 by Yvon Kerdoncuff

Merge branch 'allow-tresorier-to-flux-admin' into 'ssa-gironde'

allow tresorier to flux admin

See merge request cooperatic/kohinos-tav!106
parents f201d4ee bf30cabf
......@@ -91,7 +91,9 @@ App\Entity\Usergroup:
'ROLE_ADMIN_OPERATION_GROUPE_GERER_ALL',
'ROLE_ADMIN_OPERATION_SIEGE_GERER_ALL',
'ROLE_ADMIN_HELLOASSO_ALL',
'ROLE_ADMIN_DONS_ALL']]
'ROLE_ADMIN_DONS_ALL',
'ROLE_ADMIN_ADHERENT_GERER_LIST',
'ROLE_ADMIN_FLUX_GERER_ALL']]
usergroup_gestiongroupe:
__construct: ['Gestionnaire de Groupe', [
'ROLE_GESTION_GROUPE',
......
......@@ -92,7 +92,8 @@ App\Entity\Usergroup:
'ROLE_ADMIN_OPERATION_SIEGE_GERER_ALL',
'ROLE_ADMIN_HELLOASSO_ALL',
'ROLE_ADMIN_DONS_ALL',
'ROLE_ADMIN_ADHERENT_GERER_LIST']]
'ROLE_ADMIN_ADHERENT_GERER_LIST',
'ROLE_ADMIN_FLUX_GERER_ALL']]
usergroup_gestiongroupe:
__construct: ['Gestionnaire de Groupe', [
'ROLE_GESTION_GROUPE',
......
......@@ -91,7 +91,9 @@ App\Entity\Usergroup:
'ROLE_ADMIN_OPERATION_GROUPE_GERER_ALL',
'ROLE_ADMIN_OPERATION_SIEGE_GERER_ALL',
'ROLE_ADMIN_HELLOASSO_ALL',
'ROLE_ADMIN_DONS_ALL']]
'ROLE_ADMIN_DONS_ALL',
'ROLE_ADMIN_ADHERENT_GERER_LIST',
'ROLE_ADMIN_FLUX_GERER_ALL']]
usergroup_gestiongroupe:
__construct: ['Gestionnaire de Groupe', [
'ROLE_GESTION_GROUPE',
......
......@@ -91,7 +91,9 @@ App\Entity\Usergroup:
'ROLE_ADMIN_OPERATION_GROUPE_GERER_ALL',
'ROLE_ADMIN_OPERATION_SIEGE_GERER_ALL',
'ROLE_ADMIN_HELLOASSO_ALL',
'ROLE_ADMIN_DONS_ALL']]
'ROLE_ADMIN_DONS_ALL',
'ROLE_ADMIN_ADHERENT_GERER_LIST',
'ROLE_ADMIN_FLUX_GERER_ALL']]
usergroup_gestiongroupe:
__construct: ['Gestionnaire de Groupe', [
'ROLE_GESTION_GROUPE',
......
......@@ -91,7 +91,9 @@ App\Entity\Usergroup:
'ROLE_ADMIN_OPERATION_GROUPE_GERER_ALL',
'ROLE_ADMIN_OPERATION_SIEGE_GERER_ALL',
'ROLE_ADMIN_HELLOASSO_ALL',
'ROLE_ADMIN_DONS_ALL']]
'ROLE_ADMIN_DONS_ALL',
'ROLE_ADMIN_ADHERENT_GERER_LIST',
'ROLE_ADMIN_FLUX_GERER_ALL']]
usergroup_gestiongroupe:
__construct: ['Gestionnaire de Groupe', [
'ROLE_GESTION_GROUPE',
......
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20240610105532 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('UPDATE usergroup SET roles = \'a:17:{i:0;s:14:"ROLE_TRESORIER";i:1;s:30:"ROLE_ADMIN_COMPTOIR_GERER_LIST";i:2;s:30:"ROLE_ADMIN_COMPTOIR_GERER_VIEW";i:3;s:30:"ROLE_ADMIN_ALL_COTISATIONS_ALL";i:4;s:32:"ROLE_ADMIN_ALL_ACHATSMONNAIE_ALL";i:5;s:33:"ROLE_ADMIN_RECONVERSION_GERER_ALL";i:6;s:30:"ROLE_ADMIN_TRANSFERT_GERER_ALL";i:7;s:40:"ROLE_ADMIN_ALL_DEMANDE_ACHATSMONNAIE_ALL";i:8;s:42:"ROLE_ADMIN_OPERATION_PRESTATAIRE_GERER_ALL";i:9;s:39:"ROLE_ADMIN_OPERATION_ADHERENT_GERER_ALL";i:10;s:39:"ROLE_ADMIN_OPERATION_COMPTOIR_GERER_ALL";i:11;s:37:"ROLE_ADMIN_OPERATION_GROUPE_GERER_ALL";i:12;s:36:"ROLE_ADMIN_OPERATION_SIEGE_GERER_ALL";i:13;s:24:"ROLE_ADMIN_HELLOASSO_ALL";i:14;s:19:"ROLE_ADMIN_DONS_ALL";i:15;s:30:"ROLE_ADMIN_ADHERENT_GERER_LIST";i:16;s:25:"ROLE_ADMIN_FLUX_GERER_ALL";}\' WHERE name = "Trésorier"');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('UPDATE usergroup SET roles = \'a:16:{i:0;s:14:"ROLE_TRESORIER";i:1;s:30:"ROLE_ADMIN_COMPTOIR_GERER_LIST";i:2;s:30:"ROLE_ADMIN_COMPTOIR_GERER_VIEW";i:3;s:30:"ROLE_ADMIN_ALL_COTISATIONS_ALL";i:4;s:32:"ROLE_ADMIN_ALL_ACHATSMONNAIE_ALL";i:5;s:33:"ROLE_ADMIN_RECONVERSION_GERER_ALL";i:6;s:30:"ROLE_ADMIN_TRANSFERT_GERER_ALL";i:7;s:40:"ROLE_ADMIN_ALL_DEMANDE_ACHATSMONNAIE_ALL";i:8;s:42:"ROLE_ADMIN_OPERATION_PRESTATAIRE_GERER_ALL";i:9;s:39:"ROLE_ADMIN_OPERATION_ADHERENT_GERER_ALL";i:10;s:39:"ROLE_ADMIN_OPERATION_COMPTOIR_GERER_ALL";i:11;s:37:"ROLE_ADMIN_OPERATION_GROUPE_GERER_ALL";i:12;s:36:"ROLE_ADMIN_OPERATION_SIEGE_GERER_ALL";i:13;s:24:"ROLE_ADMIN_HELLOASSO_ALL";i:14;s:19:"ROLE_ADMIN_DONS_ALL";i:15;s:30:"ROLE_ADMIN_ADHERENT_GERER_LIST";}\' WHERE name = "Trésorier"');
}
}
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