This commit is contained in:
2019-07-23 15:32:35 +02:00
parent c3a3fbfec8
commit 05a2fe97bc
51 changed files with 1225 additions and 988 deletions

View File

@ -136,10 +136,14 @@ gos_web_socket:
shared_config: true
server:
port: %websocket_port% #The port the socket server will listen on
host: %weburl% #The host ip to bind to
host: %websocket_host% #The host ip to bind to
router:
resources:
- "@CadolesWebsocketBundle/Resources/config/topic.yml"
pushers:
wamp:
host: %websocket_host%
port: %websocket_portinterne%
# ckeditor configuration
ivory_ck_editor:

View File

@ -41,7 +41,10 @@ security:
check_path: /saml/acs
access_control:
- { path: ^/websocket, roles: [ROLE_ADMIN, ROLE_MODO, ROLE_USER] }
- { path: ^/user, roles: [ROLE_ADMIN, ROLE_MODO, ROLE_USER] }
- { path: ^/websocket, roles: [ROLE_ADMIN, ROLE_MODO, ROLE_ANIM, ROLE_USER] }
- { path: ^/user/group/submit, roles: [ROLE_ADMIN, ROLE_MODO, ROLE_ANIM] }
- { path: ^/user/group/update, roles: [ROLE_ADMIN, ROLE_MODO, ROLE_ANIM] }
- { path: ^/user/group/delete, roles: [ROLE_ADMIN, ROLE_MODO, ROLE_ANIM] }
- { path: ^/user, roles: [ROLE_ADMIN, ROLE_MODO, ROLE_ANIM, ROLE_USER] }
- { path: ^/config, roles: [ROLE_ADMIN, ROLE_MODO] }

View File

@ -9,6 +9,7 @@ twig:
cron_activate: %cron_activate%
portal_activate: %portal_activate%
item_activate: %item_activate%
websocket_activate: %websocket_activate%
activate_widsonde: %activate_widsonde%
widsonde_url: %widsonde_url%