فهرست منبع

Module Statistiques

Vincent GUFFON 4 سال پیش
والد
کامیت
2a1c30af92
2فایلهای تغییر یافته به همراه6 افزوده شده و 13 حذف شده
  1. 0 13
      config/opentalent/modulesbyconditions.yaml
  2. 6 0
      config/opentalent/products.yaml

+ 0 - 13
config/opentalent/modulesbyconditions.yaml

@@ -50,29 +50,16 @@ opentalent:
                     name: opentalent.organization.utils
                     function: isOrganizationIs2ios
         StatisticFederation:
-            roles:
-                - ROLE_STATISTIC
             conditions:
                 service:
                     name: opentalent.cotisation.utils
                     function: isManagerAndNotLastParentAndCMF
         StatisticStructure:
-            roles:
-                - ROLE_STATISTIC
             conditions:
                 service:
                     name: opentalent.cotisation.utils
                     function: isManagerAndCMF
-        Statistic:
-            roles:
-                - ROLE_STATISTIC
-            conditions:
-                service:
-                    name: opentalent.organization.utils
-                    function: isStructure
         Network:
-            roles:
-                - ROLE_NETWORK
             conditions:
                 service:
                     name: opentalent.network.utils

+ 6 - 0
config/opentalent/products.yaml

@@ -276,6 +276,11 @@ opentalent:
           roles:
             - ROLE_WEBSITE
 
+      Statistic:
+        entities: ~
+        roles:
+          - ROLE_STATISTIC
+
       ViewAudit:
           entities:
             - ViewAudit
@@ -309,6 +314,7 @@ opentalent:
           - ViewAudit
           - Messages
           - Tagg
+          - Statistic
 
       artist_premium:
         extend: artist