@pgpm/defaults 0.12.0 → 0.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6,7 +6,7 @@ exports[`defaults security configurations configuration verification should crea
|
|
|
6
6
|
{
|
|
7
7
|
"current_user": "postgres",
|
|
8
8
|
"database_name": "test-database",
|
|
9
|
-
"default_func_acl_count": "
|
|
9
|
+
"default_func_acl_count": "2",
|
|
10
10
|
"public_db_connect": false,
|
|
11
11
|
"public_db_create": false,
|
|
12
12
|
"public_schema_create": false,
|
|
@@ -13,5 +13,7 @@ $$;
|
|
|
13
13
|
-- NOTE: don't alter this as new schemas inherit this behavior
|
|
14
14
|
ALTER DEFAULT PRIVILEGES REVOKE EXECUTE ON FUNCTIONS FROM PUBLIC;
|
|
15
15
|
REVOKE CREATE ON SCHEMA public FROM PUBLIC;
|
|
16
|
+
GRANT EXECUTE ON ALL FUNCTIONS IN SCHEMA public TO authenticated, anonymous, administrator;
|
|
17
|
+
ALTER DEFAULT PRIVILEGES IN SCHEMA public
|
|
18
|
+
GRANT EXECUTE ON FUNCTIONS TO authenticated, anonymous, administrator;
|
|
16
19
|
COMMIT;
|
|
17
|
-
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pgpm/defaults",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.2",
|
|
4
4
|
"description": "Security defaults and baseline configurations",
|
|
5
5
|
"author": "Dan Lynch <pyramation@gmail.com>",
|
|
6
6
|
"contributors": [
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"bugs": {
|
|
35
35
|
"url": "https://github.com/launchql/pgpm-modules/issues"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "880c1b99631ac536288584ace0ac3dd40300f17e"
|
|
38
38
|
}
|
|
@@ -12,4 +12,10 @@ $EOFCODE$;
|
|
|
12
12
|
ALTER DEFAULT PRIVILEGES
|
|
13
13
|
REVOKE EXECUTE ON FUNCTIONS FROM PUBLIC RESTRICT;
|
|
14
14
|
|
|
15
|
-
REVOKE CREATE ON SCHEMA public FROM PUBLIC RESTRICT;
|
|
15
|
+
REVOKE CREATE ON SCHEMA public FROM PUBLIC RESTRICT;
|
|
16
|
+
|
|
17
|
+
GRANT EXECUTE ON ALL FUNCTIONS IN SCHEMA public
|
|
18
|
+
TO authenticated, anonymous, administrator;
|
|
19
|
+
|
|
20
|
+
ALTER DEFAULT PRIVILEGES IN SCHEMA public
|
|
21
|
+
GRANT EXECUTE ON FUNCTIONS TO authenticated, anonymous, administrator;
|