Parcourir la source

role admin

master
Charly il y a 3 ans
Parent
révision
54655e6673
20 fichiers modifiés avec 164 ajouts et 226 suppressions
  1. +6
    -3
      config/packages/security.yaml
  2. +1
    -51
      public/build/adminlte-common.js
  3. +1
    -27
      public/build/adminlte-field-collection.js
  4. +1
    -27
      public/build/adminlte-field-filemanager.js
  5. +1
    -36
      public/build/adminlte-form.js
  6. +1
    -36
      public/build/adminlte-index.js
  7. +1
    -36
      public/build/adminlte-sort.js
  8. +25
    -0
      src/Controller/Admin/CollectifDataCrudController.php
  9. +25
    -0
      src/Controller/Admin/ConfigurationCrudController.php
  10. +13
    -0
      src/Controller/Admin/DashboardController.php
  11. +25
    -0
      src/Controller/Admin/IndividualDataCrudController.php
  12. +25
    -0
      src/Controller/Admin/TerritoryCrudController.php
  13. +25
    -0
      src/Controller/Admin/ThematicCrudController.php
  14. +1
    -1
      src/Doctrine/Extension/DescriptionProjectInterface.php
  15. +1
    -1
      src/Doctrine/Extension/DescriptionProjectTrait.php
  16. +2
    -2
      src/Entity/Dreams.php
  17. +2
    -2
      src/Entity/ProjectsBoost.php
  18. +2
    -2
      src/Entity/ProjectsInspiring.php
  19. +2
    -2
      src/Entity/Revolts.php
  20. +4
    -0
      translations/admin.fr.yaml

+ 6
- 3
config/packages/security.yaml Voir le fichier

@@ -37,6 +37,9 @@ security:
# Easy way to control access for large sections of your site
# Note: Only the *first* access control that matches will be used
access_control:
- { path: ^/manager, roles: [ROLE_ADMIN, ROLE_SUPER_ADMIN] }
- { path: ^/admin, roles: [ROLE_ADMIN, ROLE_SUPER_ADMIN] }
- { path: ^/profile, roles: ROLE_USER }
- { path: ^/admin, roles: [ROLE_ANIMATOR, ROLE_ADMIN, ROLE_SUPER_ADMIN] }

role_hierarchy:
ROLE_ANIMATOR: [ ROLE_USER ]
ROLE_ADMIN: [ ROLE_ANIMATOR ]
ROLE_SUPER_ADMIN: [ ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH ]

+ 1
- 51
public/build/adminlte-common.js
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


+ 1
- 27
public/build/adminlte-field-collection.js
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


+ 1
- 27
public/build/adminlte-field-filemanager.js
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


+ 1
- 36
public/build/adminlte-form.js Voir le fichier

@@ -1,45 +1,25 @@
(self["webpackChunk"] = self["webpackChunk"] || []).push([["adminlte-form"],{

<<<<<<< HEAD
/***/ "../LaClicBundle/SovBundle/Resources/assets/app/adminlte/form/app.form.js":
/*!********************************************************************************!*\
!*** ../LaClicBundle/SovBundle/Resources/assets/app/adminlte/form/app.form.js ***!
\********************************************************************************/
=======
/***/ "../LaclicBundles/SovBundle/Resources/assets/app/adminlte/form/app.form.js":
/*!*********************************************************************************!*\
!*** ../LaclicBundles/SovBundle/Resources/assets/app/adminlte/form/app.form.js ***!
\*********************************************************************************/
>>>>>>> 785c411f98702d0ace08d5e8a56615e37d017d2e
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
<<<<<<< HEAD
/* harmony import */ var _form_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./form.js */ "../LaClicBundle/SovBundle/Resources/assets/app/adminlte/form/form.js");
/* harmony import */ var _form_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_form_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _form_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./form.scss */ "../LaClicBundle/SovBundle/Resources/assets/app/adminlte/form/form.scss");
=======
/* harmony import */ var _form_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./form.js */ "../LaclicBundles/SovBundle/Resources/assets/app/adminlte/form/form.js");
/* harmony import */ var _form_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_form_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _form_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./form.scss */ "../LaclicBundles/SovBundle/Resources/assets/app/adminlte/form/form.scss");
>>>>>>> 785c411f98702d0ace08d5e8a56615e37d017d2e



/***/ }),

<<<<<<< HEAD
/***/ "../LaClicBundle/SovBundle/Resources/assets/app/adminlte/form/form.js":
/*!****************************************************************************!*\
!*** ../LaClicBundle/SovBundle/Resources/assets/app/adminlte/form/form.js ***!
\****************************************************************************/
=======
/***/ "../LaclicBundles/SovBundle/Resources/assets/app/adminlte/form/form.js":
/*!*****************************************************************************!*\
!*** ../LaclicBundles/SovBundle/Resources/assets/app/adminlte/form/form.js ***!
\*****************************************************************************/
>>>>>>> 785c411f98702d0ace08d5e8a56615e37d017d2e
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {

__webpack_require__(/*! core-js/modules/es.array.find.js */ "./node_modules/core-js/modules/es.array.find.js");
@@ -64,17 +44,10 @@ $('button[type="submit"]').on('click', function (e) {

/***/ }),

<<<<<<< HEAD
/***/ "../LaClicBundle/SovBundle/Resources/assets/app/adminlte/form/form.scss":
/*!******************************************************************************!*\
!*** ../LaClicBundle/SovBundle/Resources/assets/app/adminlte/form/form.scss ***!
\******************************************************************************/
=======
/***/ "../LaclicBundles/SovBundle/Resources/assets/app/adminlte/form/form.scss":
/*!*******************************************************************************!*\
!*** ../LaclicBundles/SovBundle/Resources/assets/app/adminlte/form/form.scss ***!
\*******************************************************************************/
>>>>>>> 785c411f98702d0ace08d5e8a56615e37d017d2e
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
@@ -89,16 +62,8 @@ __webpack_require__.r(__webpack_exports__);
/******/ "use strict";
/******/
/******/ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
<<<<<<< HEAD
/******/ __webpack_require__.O(0, ["vendors-node_modules_core-js_internals_a-function_js-node_modules_core-js_internals_export_js","vendors-node_modules_core-js_modules_es_array_find_js"], () => (__webpack_exec__("../LaClicBundle/SovBundle/Resources/assets/app/adminlte/form/app.form.js")));
/******/ var __webpack_exports__ = __webpack_require__.O();
/******/ }
]);
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi4vTGFDbGljQnVuZGxlL1NvdkJ1bmRsZS9SZXNvdXJjZXMvYXNzZXRzL2FwcC9hZG1pbmx0ZS9mb3JtL2FwcC5mb3JtLmpzIiwid2VicGFjazovLy8uLi9MYUNsaWNCdW5kbGUvU292QnVuZGxlL1Jlc291cmNlcy9hc3NldHMvYXBwL2FkbWlubHRlL2Zvcm0vZm9ybS5qcyIsIndlYnBhY2s6Ly8vLi4vTGFDbGljQnVuZGxlL1NvdkJ1bmRsZS9SZXNvdXJjZXMvYXNzZXRzL2FwcC9hZG1pbmx0ZS9mb3JtL2Zvcm0uc2NzcyJdLCJuYW1lcyI6WyJjaGVja0Zvcm0iLCIkIiwiYWRkQ2xhc3MiLCJmaW5kIiwibGVuZ3RoIiwiZWFjaCIsImkiLCJwYW5lbCIsInJlbW92ZUNsYXNzIiwib24iLCJlIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7O0FBQ0E7Ozs7Ozs7Ozs7Ozs7QUNDQSxTQUFTQSxTQUFULEdBQXFCO0FBQ2pCQyxHQUFDLENBQUMsTUFBRCxDQUFELENBQVVDLFFBQVYsQ0FBbUIsV0FBbkIsRUFEaUIsQ0FFakI7O0FBQ0EsTUFBSUQsQ0FBQyxDQUFDLE1BQUQsQ0FBRCxDQUFVRSxJQUFWLENBQWUsV0FBZixFQUE0QkMsTUFBaEMsRUFBd0M7QUFDcENILEtBQUMsQ0FBQyxNQUFELENBQUQsQ0FBVUUsSUFBVixDQUFlLFdBQWYsRUFBNEJFLElBQTVCLENBQWlDLFVBQVVDLENBQVYsRUFBYUMsS0FBYixFQUFvQjtBQUNqRCxVQUFJTixDQ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sgaSArICcpJykuYWRkQ2xhc3MoJ2hhcy1pbnZhbGlkJyk7XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICQoJyNuYXYtcGFyYW1zJykuZmluZCgnLm5hdi1pdGVtOmVxKCcgKyBpICsgJyknKS5yZW1vdmVDbGFzcygnaGFzLWludmFsaWQnKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfSlcbiAgICB9XG59XG5cbiQoJ2J1dHRvblt0eXBlPVwic3VibWl0XCJdJykub24oJ2NsaWNrJywgZnVuY3Rpb24gKGUpIHtcblxuICAgIGNoZWNrRm9ybSgpO1xufSkiLCIvLyBleHRyYWN0ZWQgYnkgbWluaS1jc3MtZXh0cmFjdC1wbHVnaW5cbmV4cG9ydCB7fTsiXSwic291cmNlUm9vdCI6IiJ9
=======
/******/ __webpack_require__.O(0, ["vendors-node_modules_core-js_internals_a-function_js-node_modules_core-js_internals_export_js","vendors-node_modules_core-js_modules_es_array_find_js"], () => (__webpack_exec__("../LaclicBundles/SovBundle/Resources/assets/app/adminlte/form/app.form.js")));
/******/ var __webpack_exports__ = __webpack_require__.O();
/******/ }
]);
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi4vTGFjbGljQnVuZGxlcy9Tb3ZCdW5kbGUvUmVzb3VyY2VzL2Fzc2V0cy9hcHAvYWRtaW5sdGUvZm9ybS9hcHAuZm9ybS5qcyIsIndlYnBhY2s6Ly8vLi4vTGFjbGljQnVuZGxlcy9Tb3ZCdW5kbGUvUmVzb3VyY2VzL2Fzc2V0cy9hcHAvYWRtaW5sdGUvZm9ybS9mb3JtLmpzIiwid2VicGFjazovLy8uLi9MYWNsaWNCdW5kbGVzL1NvdkJ1bmRsZS9SZXNvdXJjZXMvYXNzZXRzL2FwcC9hZG1pbmx0ZS9mb3JtL2Zvcm0uc2NzcyJdLCJuYW1lcyI6WyJjaGVja0Zvcm0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7O0FDaEJBIiwiZmlsZSI6ImFkbWlubHRlLWZvcm0uanMiLCJzb3VyY2VzQ29udGVudCI6WyJcbmltcG9ydCAnLi9mb3JtLmpzJ1xuaW1wb3J0ICcuL2Zvcm0uc2NzcyciLCJcblxuZnVuY3Rpb24gY2hlY2tGb3JtKCkge1xuICAgICQoJ2Zvcm0nKS5hZGRDbGFzcygnZm9ybS1zZW50Jyk7XG4gICAgLy9QYW5lbCB2dWVzIGpzXG4gICAgaWYgKCQoJ2Zvcm0nKS5maW5kKCcudGFiLXBhbmUnKS5sZW5ndGgpIHtcbiAgICAgICAgJCgnZm9ybScpLmZpbmQoJy50YWItcGFuZScpLmVhY2goZnVuY3Rpb24gKGksIHBhbmVsKSB7XG4gICAgICAgICAgICBpZiAoJChwYW5lbCkuZmluZCgnOmludmFsaWQnKS5sZW5ndGgpIHtcbiAgICAgICAgICAgICAgICAkKCcjbmF2LXBhcmFtcycpLmZpbmQoJy5uYXYtaXRlbTplcSgnICsgaSArICcpJykuYWRkQ2xhc3MoJ2hhcy1pbnZhbGlkJyk7XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICQoJyNuYXYtcGFyYW1zJykuZmluZCgnLm5hdi1pdGVtOmVxKCcgKyBpICsgJyknKS5yZW1vdmVDbGFzcygnaGFzLWludmFsaWQnKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfSlcbiAgICB9XG59XG5cbiQoJ2J1dHRvblt0eXBlPVwic3VibWl0XCJdJykub24oJ2NsaWNrJywgZnVuY3Rpb24gKGUpIHtcblxuICAgIGNoZWNrRm9ybSgpO1xufSkiLCIvLyBleHRyYWN0ZWQgYnkgbWluaS1jc3MtZXh0cmFjdC1wbHVnaW5cbmV4cG9ydCB7fTsiXSwic291cmNlUm9vdCI6IiJ9
>>>>>>> 785c411f98702d0ace08d5e8a56615e37d017d2e
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpb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GFzcygnaGFzLWludmFsaWQnKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfSlcbiAgICB9XG59XG5cbiQoJ2J1dHRvblt0eXBlPVwic3VibWl0XCJdJykub24oJ2NsaWNrJywgZnVuY3Rpb24gKGUpIHtcblxuICAgIGNoZWNrRm9ybSgpO1xufSkiLCIvLyBleHRyYWN0ZWQgYnkgbWluaS1jc3MtZXh0cmFjdC1wbHVnaW5cbmV4cG9ydCB7fTsiXSwic291cmNlUm9vdCI6IiJ9

+ 1
- 36
public/build/adminlte-index.js
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


+ 1
- 36
public/build/adminlte-sort.js
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


+ 25
- 0
src/Controller/Admin/CollectifDataCrudController.php Voir le fichier

@@ -0,0 +1,25 @@
<?php

namespace App\Controller\Admin;

use App\Entity\CollectifData;
use Lc\SovBundle\Controller\Admin\AbstractCrudController;

class CollectifDataCrudController extends AbstractCrudController
{
public static function getEntityFqcn(): string
{
return CollectifData::class;
}

/*
public function configureFields(string $pageName): iterable
{
return [
IdField::new('id'),
TextField::new('title'),
TextEditorField::new('description'),
];
}
*/
}

+ 25
- 0
src/Controller/Admin/ConfigurationCrudController.php Voir le fichier

@@ -0,0 +1,25 @@
<?php

namespace App\Controller\Admin;

use App\Entity\Configuration;
use Lc\SovBundle\Controller\Admin\AbstractCrudController;

class ConfigurationCrudController extends AbstractCrudController
{
public static function getEntityFqcn(): string
{
return Configuration::class;
}

/*
public function configureFields(string $pageName): iterable
{
return [
IdField::new('id'),
TextField::new('title'),
TextEditorField::new('description'),
];
}
*/
}

+ 13
- 0
src/Controller/Admin/DashboardController.php Voir le fichier

@@ -4,6 +4,7 @@ namespace App\Controller\Admin;


use App\Entity\Common\TaxRate;
use App\Entity\IndividualData;
use App\Entity\Site\Page;
use App\Entity\User\GroupUser;
use App\Entity\User\User;
@@ -30,5 +31,17 @@ class DashboardController extends SovDashboardController
MenuItem::linkToRoute('account_password', '', 'sov_admin_account_password'),
]
);
yield MenuItem::subMenu('data_individual', 'user')->setSubItems(
[
MenuItem::linkToCrud('data_individual_validate', '', IndividualData::class),
MenuItem::linkToCrud('data_individual_waiting', '', IndividualData::class),
]
);
yield MenuItem::subMenu('data_collectif', 'user')->setSubItems(
[
MenuItem::linkToCrud('data_individual_validate', '', IndividualData::class),
MenuItem::linkToCrud('data_individual_waiting', '', IndividualData::class),
]
);
}
}

+ 25
- 0
src/Controller/Admin/IndividualDataCrudController.php Voir le fichier

@@ -0,0 +1,25 @@
<?php

namespace App\Controller\Admin;

use App\Entity\IndividualData;
use EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractCrudController;

class IndividualDataCrudController extends AbstractCrudController
{
public static function getEntityFqcn(): string
{
return IndividualData::class;
}

/*
public function configureFields(string $pageName): iterable
{
return [
IdField::new('id'),
TextField::new('title'),
TextEditorField::new('description'),
];
}
*/
}

+ 25
- 0
src/Controller/Admin/TerritoryCrudController.php Voir le fichier

@@ -0,0 +1,25 @@
<?php

namespace App\Controller\Admin;

use App\Entity\Territory;
use Lc\SovBundle\Controller\Admin\AbstractCrudController;

class TerritoryCrudController extends AbstractCrudController
{
public static function getEntityFqcn(): string
{
return Territory::class;
}

/*
public function configureFields(string $pageName): iterable
{
return [
IdField::new('id'),
TextField::new('title'),
TextEditorField::new('description'),
];
}
*/
}

+ 25
- 0
src/Controller/Admin/ThematicCrudController.php Voir le fichier

@@ -0,0 +1,25 @@
<?php

namespace App\Controller\Admin;

use App\Entity\Thematic;
use Lc\SovBundle\Controller\Admin\AbstractCrudController;

class ThematicCrudController extends AbstractCrudController
{
public static function getEntityFqcn(): string
{
return Thematic::class;
}

/*
public function configureFields(string $pageName): iterable
{
return [
IdField::new('id'),
TextField::new('title'),
TextEditorField::new('description'),
];
}
*/
}

+ 1
- 1
src/Doctrine/Extension/DescriptionProjectInterface.php Voir le fichier

@@ -1,6 +1,6 @@
<?php

namespace Lc\SovBundle\Doctrine\Extension;
namespace App\Doctrine\Extension;

interface DescriptionProjectInterface
{

+ 1
- 1
src/Doctrine/Extension/DescriptionProjectTrait.php Voir le fichier

@@ -1,6 +1,6 @@
<?php

namespace Lc\SovBundle\Doctrine\Extension;
namespace App\Doctrine\Extension;

use Doctrine\ORM\Mapping as ORM;


+ 2
- 2
src/Entity/Dreams.php Voir le fichier

@@ -4,8 +4,8 @@ namespace App\Entity;

use App\Repository\DreamsRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\SovBundle\Doctrine\Extension\DescriptionProjectInterface;
use Lc\SovBundle\Doctrine\Extension\DescriptionProjectTrait;
use App\Doctrine\Extension\DescriptionProjectInterface;
use App\Doctrine\Extension\DescriptionProjectTrait;

/**
* @ORM\Entity(repositoryClass=DreamsRepository::class)

+ 2
- 2
src/Entity/ProjectsBoost.php Voir le fichier

@@ -4,8 +4,8 @@ namespace App\Entity;

use App\Repository\ProjectsBoostRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\SovBundle\Doctrine\Extension\DescriptionProjectInterface;
use Lc\SovBundle\Doctrine\Extension\DescriptionProjectTrait;
use App\Doctrine\Extension\DescriptionProjectInterface;
use App\Doctrine\Extension\DescriptionProjectTrait;

/**
* @ORM\Entity(repositoryClass=ProjectsBoostRepository::class)

+ 2
- 2
src/Entity/ProjectsInspiring.php Voir le fichier

@@ -4,8 +4,8 @@ namespace App\Entity;

use App\Repository\ProjectsInspiringRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\SovBundle\Doctrine\Extension\DescriptionProjectInterface;
use Lc\SovBundle\Doctrine\Extension\DescriptionProjectTrait;
use App\Doctrine\Extension\DescriptionProjectInterface;
use App\Doctrine\Extension\DescriptionProjectTrait;

/**
* @ORM\Entity(repositoryClass=ProjectsInspiringRepository::class)

+ 2
- 2
src/Entity/Revolts.php Voir le fichier

@@ -4,8 +4,8 @@ namespace App\Entity;

use App\Repository\RevoltsRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\SovBundle\Doctrine\Extension\DescriptionProjectInterface;
use Lc\SovBundle\Doctrine\Extension\DescriptionProjectTrait;
use App\Doctrine\Extension\DescriptionProjectInterface;
use App\Doctrine\Extension\DescriptionProjectTrait;

/**
* @ORM\Entity(repositoryClass=RevoltsRepository::class)

+ 4
- 0
translations/admin.fr.yaml Voir le fichier

@@ -0,0 +1,4 @@
menu:
data_individual: Formulaire individuel
data_individual_validate: Données validées
data_individual_waiting: Données en attente de validation

Chargement…
Annuler
Enregistrer