@pgpm/defaults 0.15.2 → 0.15.3
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.
package/Makefile
CHANGED
package/README.md
CHANGED
|
@@ -165,6 +165,21 @@ All access must be explicitly granted:
|
|
|
165
165
|
|
|
166
166
|
## Integration with Other Packages
|
|
167
167
|
|
|
168
|
+
### With PGPM roles
|
|
169
|
+
|
|
170
|
+
```bash
|
|
171
|
+
# Ensure standard roles exist
|
|
172
|
+
pgpm admin-users bootstrap
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
Then grant permissions to roles:
|
|
176
|
+
|
|
177
|
+
```sql
|
|
178
|
+
-- Grant permissions to roles
|
|
179
|
+
GRANT CONNECT ON DATABASE mydb TO anonymous, authenticated, administrator;
|
|
180
|
+
GRANT USAGE ON SCHEMA public TO anonymous, authenticated, administrator;
|
|
181
|
+
```
|
|
182
|
+
|
|
168
183
|
### With Application Tables
|
|
169
184
|
|
|
170
185
|
```sql
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pgpm/defaults",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.3",
|
|
4
4
|
"description": "Security defaults and baseline configurations",
|
|
5
5
|
"author": "Dan Lynch <pyramation@gmail.com>",
|
|
6
6
|
"contributors": [
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"test:watch": "jest --watch"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@pgpm/verify": "0.15.
|
|
24
|
+
"@pgpm/verify": "0.15.3"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"pgpm": "^1.0.0"
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"bugs": {
|
|
35
35
|
"url": "https://github.com/constructive-io/pgpm-modules/issues"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "187ed37f6b731132fe930acf5b5996b1e63ecca0"
|
|
38
38
|
}
|
package/pgpm-defaults.control
CHANGED
|
File without changes
|