Closed nathanlcarlson closed 5 years ago
This is done with the SQL below
INSERT INTO esgf_security.permission VALUES (1, 1, 1, true);
We were debating of whether to add this to CoG after the user gets created or just run as an add-on.
Yea, since all user creation and group/role management goes through CoG on the node postinstall, it would be strange to have this one exception where the installer does it.
Not only strange, perhaps dangerous.
I created PR https://github.com/William-Hill/COG/pull/4 on @William-Hill 's COG fork to address this.
Just merged the PR on my CoG fork
PR https://github.com/William-Hill/COG/pull/5 officially resolves this, as long as @William-Hill 's COG fork (branch "ESGF_3.0") is used.
The "rootAdmin" user needs to be added to the "wheel" group of the local node by default so it has permission to publish and unpublish.