Commit 3f34fb39 by Filippo Panessa

Assign right permission to analytics api user

parent 8cc360e5
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
mysql_user: mysql_user:
name: "api001" name: "api001"
password: "{{ ANALYTICS_API_DATABASES.default.PASSWORD }}" password: "{{ ANALYTICS_API_DATABASES.default.PASSWORD }}"
priv: '{{ ANALYTICS_API_DATABASES.default.NAME }}.*:ALL/reports.*:SELECT' priv: '{{ ANALYTICS_API_DATABASES.default.NAME }}.*:SELECT,INSERT,UPDATE,DELETE/reports.*:SELECT'
host: "{{ MARIADB_HOST_PRIV }}" host: "{{ MARIADB_HOST_PRIV }}"
when: ANALYTICS_API_SERVICE_CONFIG is defined when: ANALYTICS_API_SERVICE_CONFIG is defined
......
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