diff options
author | Jorge Hernandez <jh1730@att.com> | 2018-02-27 15:14:14 -0600 |
---|---|---|
committer | Jorge Hernandez <jh1730@att.com> | 2018-02-27 15:14:14 -0600 |
commit | 68d2d90042457360545d36874d95d561b1361a97 (patch) | |
tree | 406e3a0b37a058756097ceb1dc2d0cad467adf91 /ONAP-PAP-REST/src | |
parent | 47c1630d48e40e1fbc051fa6eae251ffbe1d4945 (diff) |
remove mariadb superuser sql statements
PE installation as part of data upgrade invokes
"set global" statements that are typically used
by priviledged accounts as the "root" mariadb user.
As part of the effort to clean up the mariadb docker install,
only permissions to a regular mariadb user (policy_user by default)
are given in 3 databases: onap_sdk, log, and support.
This account cannot do changes outside those.
In any case the usage of the global timeouts is questionable.
We should keep an eye if there's any potential bad side effect,
and correct it if it doesn't. It's preferable to keep
"policy_user" with a restricted set of privileges, instead
of being a superuser (otherwise can plainly user the root account).
Change-Id: I17b1a6a2cb62a319464e1db4b3aafbc1dbf20d78
Issue-ID: POLICY-650
Signed-off-by: Jorge Hernandez <jh1730@att.com>
Diffstat (limited to 'ONAP-PAP-REST/src')
0 files changed, 0 insertions, 0 deletions