sf-plugin-permission-sets 0.0.0-dev.22 → 0.0.0-dev.24
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 +7 -7
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -179,15 +179,15 @@ The two compose: a directory per environment, each split into functional files.
|
|
|
179
179
|
|
|
180
180
|
## Modes
|
|
181
181
|
|
|
182
|
-
A run performs
|
|
182
|
+
A run performs three operations: **add** missing assignments, **update** changed expirations on declared ones, and **remove** undeclared ones. Updates ride with the additive half (they touch a declared grant, never revoke access). The mode selects which it actually executes. Set it with `--mode` (default `additive`):
|
|
183
183
|
|
|
184
|
-
| Mode | Adds missing | Removes undeclared | Use when… |
|
|
185
|
-
| ------------- | :----------: | :----------------: | --------------------------------------------------------------------- |
|
|
186
|
-
| `additive` | ✅ | ❌ | **Default.** Grant access, never revoke. Safe rollout. |
|
|
187
|
-
| `destructive` | ❌ | ✅ | Prune/revoke access that isn't declared, without granting anything new. |
|
|
188
|
-
| `sync` | ✅ | ✅ | Full reconcile: make the org exactly match the YAML (`sync` = `additive` + `destructive`). |
|
|
184
|
+
| Mode | Adds missing | Updates expirations | Removes undeclared | Use when… |
|
|
185
|
+
| ------------- | :----------: | :-----------------: | :----------------: | --------------------------------------------------------------------- |
|
|
186
|
+
| `additive` | ✅ | ✅ | ❌ | **Default.** Grant access, never revoke. Safe rollout. |
|
|
187
|
+
| `destructive` | ❌ | ❌ | ✅ | Prune/revoke access that isn't declared, without granting anything new. |
|
|
188
|
+
| `sync` | ✅ | ✅ | ✅ | Full reconcile: make the org exactly match the YAML (`sync` = `additive` + `destructive`). |
|
|
189
189
|
|
|
190
|
-
`plan` always shows the *full* picture (
|
|
190
|
+
`plan` always shows the *full* picture (adds, expiration updates, **and** would-be removes) regardless of mode, so you can preview the impact before running it. Whatever the chosen mode won't act on is surfaced as **drift**.
|
|
191
191
|
|
|
192
192
|
## Validations
|
|
193
193
|
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED