Skip to content
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

Fix delegatedTo Relationship #616

Merged
merged 1 commit into from
Jan 30, 2024
Merged

Fix delegatedTo Relationship #616

merged 1 commit into from
Jan 30, 2024

Conversation

JPEWdev
Copy link
Contributor

@JPEWdev JPEWdev commented Jan 29, 2024

In practice, the definition of the delegatedTo relationship was flawed. Since it linked one agent to another, it was impossible to determine which delegatedTo relationships applied to which invokedBy relationships.

To solve this, reword the delegatedTo relationship to indicated that the to end must point to the specific invokedBy relationships to which it applies.

In practice, the definition of the delegatedTo relationship was flawed.
Since it linked one agent to another, it was impossible to determine
which delegatedTo relationships applied to which invokedBy
relationships.

To solve this, reword the delegatedTo relationship to indicated that the
`to` end must point to the specific invokedBy relationships to which it
applies.

Signed-off-by: Joshua Watt <[email protected]>
@JPEWdev
Copy link
Contributor Author

JPEWdev commented Jan 29, 2024

It should be noted that this is an unorthodox relationship in that it relates an Actor to another Relationship, which IIRC has not been done before. However, I believe in this context is correctly conveys the information required.

Copy link
Member

@goneall goneall left a comment

Choose a reason for hiding this comment

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

LGTM

@goneall goneall added the Profile:Core Core Profile and related matters label Jan 29, 2024
@goneall goneall added this to the 3.0-rc2 milestone Jan 29, 2024
@goneall goneall mentioned this pull request Jan 30, 2024
32 tasks
@sbarnum
Copy link
Collaborator

sbarnum commented Jan 30, 2024

I have no issue with constraining the to or from of a Relationship to another Relationship. You are correct that this is completely valid to do.

I am finding it hard to follow the scenario and intent here proposed in this PR.
I think this would benefit very well from a simple diagram of an example.

@JPEWdev
Copy link
Contributor Author

JPEWdev commented Jan 30, 2024

Here is an example that hopefully explains it a little better: https://drive.google.com/file/d/1F6MiE48PAuz8uhk8Jy-g2jCOaAdVolFX/view?usp=sharing

Copy link
Contributor

@kestewart kestewart left a comment

Choose a reason for hiding this comment

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

Thanks for providing the diagram Josh, that helped explain it. Change looks fine to me.

@kestewart kestewart merged commit db42bcf into spdx:main Jan 30, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Profile:Core Core Profile and related matters
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants