-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WR-317] access policy plugin data #267
Conversation
identityClient/api.go
Outdated
@@ -1025,6 +1025,9 @@ type AccessPolicy struct { | |||
ApprovalRoles []Role `json:"approval_roles"` | |||
RequiredApprovals int `json:"required_approvals"` | |||
MaximumAccessDurationSeconds int `json:"max_access_duration_seconds"` | |||
PluginType string `json:"plugin_type"` | |||
PluginID string `json:"plugin_id"` | |||
PluginSource string `json:"plugin_source"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: now that I think about it more, PluginApprovalSource
seems more intention revealing to me (and less confusing without comments to help distinguish between Type/Source)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PluginProcessLocation
it is both approval and creation of requests. So maybe more broad than approval source. I am ending up with 5 word names. PluginFlowManagementDataReferenceLocation
🤣
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PluginFlowManagementDataReferenceLocation
🤣
😄
I am fine with anything at this point, I did comment the attributes in identity service api just not here.
Only downside to PluginApprovalSource
is it doesn't tell the entire story (creation), but at the same time its probably enough info to know what it is for.
are either of these any better or maybe more confusing?
PluginMPCFlowSource
, PluginMPCProcessingSource
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
both PluginMPCFlowSource
, PluginMPCProcessingSource
introduce new concepts / names (Flow and Processing), so at least to me are more confusing then Approval
. For TozID mpc requests, the approval source is a role, I'd argue for Jira the approval source is a board.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
after more thunking....PluginMPCFlowSource
is a better name, and any confusion can be mitigated with a helpful comment
b400721
to
9d2b531
Compare
https://toznysecurity.atlassian.net/browse/WR-317
see: https://github.com/tozny/identity-management-service/pull/323