docs(salesforce): document PSG grant model for CXP-288 - #107
docs(salesforce): document PSG grant model for CXP-288#107carolinaroncaglia wants to merge 1 commit into
Conversation
|
Claude finished @carolinaroncaglia's task in 1m 35s —— View job PR Review: docs(salesforce): document PSG grant model for CXP-288
Looks good! I verified all four claims in this documentation against the actual connector code:
The Salesforce API object names ( Minor observations (non-blocking)
No bugs, no inaccuracies, no missing information. This is a clean, accurate documentation addition. Approve. |
Document two new grant types introduced in CXP-288: - PSG to User grants via PermissionSetAssignment - PSG to Permission Set grants via PermissionSetGroupComponent with GrantExpandable support for transitive access expansion
39ac958 to
d338521
Compare
| - **PSG → Permission Set grants**: If a Permission Set is a component of a Permission Set Group (via a `PermissionSetGroupComponent` record), C1 emits an `assigned` grant on the Permission Set resource with the PSG as the principal. These grants support transitive access expansion: users who are members of a PSG are automatically shown as having access to all Permission Sets within that PSG, enabling access reviews at the PSG level. | ||
|
|
||
| <Note> | ||
| PSG → User grants require at least one `PermissionSetAssignment` record in Salesforce where the target is a Permission Set Group. If your Salesforce instance assigns access only through individual Permission Sets, PSG grants will not appear. |
There was a problem hiding this comment.
🟡 Suggestion: The note opens scoped to "PSG → User grants" but closes with the broader "PSG grants will not appear", which contradicts the second bullet. PSG → Permission Set grants come from PermissionSetGroupComponent (GetPermissionSetGroupComponentsByPermissionSet in pkg/connector/client/salesforce.go:902) and are emitted regardless of whether any PermissionSetAssignment targets a PSG. Suggest narrowing the last sentence so it only covers user membership.
| PSG → User grants require at least one `PermissionSetAssignment` record in Salesforce where the target is a Permission Set Group. If your Salesforce instance assigns access only through individual Permission Sets, PSG grants will not appear. | |
| PSG → User grants require at least one `PermissionSetAssignment` record in Salesforce where the target is a Permission Set Group. If your Salesforce instance assigns access only through individual Permission Sets, PSG → User grants will not appear (PSG → Permission Set grants are unaffected, since they come from `PermissionSetGroupComponent` records). |
Connector PR Review: docs(salesforce): document PSG grant model for CXP-288Blocking Issues: 0 | Suggestions: 1 | Threads Resolved: 0 Review SummaryScanned the full PR diff for security and correctness: this is a docs-only change adding a "Permission set group grants" section to Security IssuesNone found. Correctness IssuesNone found. Suggestions
Prompt for AI agents |
Summary
PermissionSetAssignment, PSG → Permission Set grants viaPermissionSetGroupComponent)GrantExpandableannotationPermissionSetAssignmentrecords targeting a PSGRelated