Skip to content

Commit

Permalink
Merge pull request #445 from OpenConext/patch/reduce-sst-privileges
Browse files Browse the repository at this point in the history
Reduce privileges for backup- and SST-user
  • Loading branch information
quartje authored Dec 14, 2023
2 parents f367f4d + e293503 commit 67eb7e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/galera/tasks/cluster_nodes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@
mysql_user:
name: "{{ mariadb_cluster_user }}"
password: "{{ mariadb_cluster_password }}"
priv: "*.*:ALL"
priv: "*.*:GRANT RELOAD,PROCESS,LOCK TABLES,BINLOG MONITOR"
state: present
login_user: root
login_password: "{{ mariadb_root_password }}"
Expand All @@ -227,7 +227,7 @@
mysql_user:
name: "{{ mariadb_backup_user }}"
password: "{{ mariadb_backup_password }}"
priv: "*.*:SELECT,LOCK TABLES,SHOW VIEW"
priv: "*.*:GRANT RELOAD,PROCESS,LOCK TABLES,BINLOG MONITOR,CONNECTION ADMIN"
state: present
login_user: root
login_password: "{{ mariadb_root_password }}"
Expand Down

0 comments on commit 67eb7e4

Please sign in to comment.