@pgpm/defaults 0.15.0 → 0.15.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.
- package/README.md +0 -16
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -165,22 +165,6 @@ All access must be explicitly granted:
|
|
|
165
165
|
|
|
166
166
|
## Integration with Other Packages
|
|
167
167
|
|
|
168
|
-
### With @pgpm/default-roles
|
|
169
|
-
|
|
170
|
-
```bash
|
|
171
|
-
# Deploy both packages from their directories
|
|
172
|
-
cd packages/security/defaults && pgpm deploy --createdb
|
|
173
|
-
cd packages/security/default-roles && pgpm deploy --createdb
|
|
174
|
-
```
|
|
175
|
-
|
|
176
|
-
Then grant permissions to roles:
|
|
177
|
-
|
|
178
|
-
```sql
|
|
179
|
-
-- Grant permissions to roles
|
|
180
|
-
GRANT CONNECT ON DATABASE mydb TO anonymous, authenticated, administrator;
|
|
181
|
-
GRANT USAGE ON SCHEMA public TO anonymous, authenticated, administrator;
|
|
182
|
-
```
|
|
183
|
-
|
|
184
168
|
### With Application Tables
|
|
185
169
|
|
|
186
170
|
```sql
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pgpm/defaults",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.2",
|
|
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.2"
|
|
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": "92a241bab64c7b20e85e55a7bd314089907fabba"
|
|
38
38
|
}
|