Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Fix documentation for group assigned application #136

Merged
merged 1 commit into from
Jun 22, 2021

Conversation

aiwilliams
Copy link
Contributor

I've reviewed the original code and found that the generated relationship data would be the same. These changes ensure that the _key and _type are the same (not depending on the way the createDirectRelationship generates those using the from* and to* arguments) and updates the documentation to be more correct.

@aiwilliams aiwilliams self-assigned this Jun 16, 2021
@@ -119,7 +119,7 @@ export const Relationships: Record<
GROUP_ASSIGNED_APPLICATION: {
_type: 'okta_group_assigned_application',
_class: RelationshipClass.ASSIGNED,
sourceType: 'okta_group', // TODO what up with this?
sourceType: 'okta_user_group, okta_app_user_group',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should support arrays?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think supporting arrays would be good. 👍 Created JupiterOne/sdk#490.

@aiwilliams aiwilliams merged commit 9663466 into master Jun 22, 2021
@aiwilliams aiwilliams deleted the verify-group-app branch June 22, 2021 12:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants