add user for ui

This commit is contained in:
Wolfgang Hottgenroth 2021-01-16 19:47:05 +01:00
parent d2431f4165
commit 9337f0d80e
Signed by: wn
GPG Key ID: E49AF3B9EF6DD469

View File

@ -97,3 +97,7 @@ create table betriebskosten_abrechnung (
on delete restrict
on update cascade
) engine=InnoDB;
create user 'hausverwaltung-ui'@'%' identified by 'test123';
grant select on hausverwaltung.objekt to 'hausverwaltung-ui'@'%';
grant select on hausverwaltung.wohnung to 'hausverwaltung-ui'@'%';