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

Issue 12 #15

Merged
merged 2 commits into from
Feb 23, 2024
Merged

Issue 12 #15

merged 2 commits into from
Feb 23, 2024

Conversation

jhiemstrawisc
Copy link
Member

Closes #12

To distinguish between a lot's personal owner and those who own the lot through
inheritance, the `get_lot_as_json` function will return something like
```
"owners": ["owner1", "owner2"]
```
when called with recursion, and something like
```
"owner": "owner1"
```
when called without.

The distinction here is that "owner" MUST map to the lot's personal owner,
whereas "owners" is a list of all owners, including the personal owner.
@jhiemstrawisc jhiemstrawisc merged commit 65455d8 into PelicanPlatform:main Feb 23, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

owners key doesn't make sense for get_lot_as_json without recursive
1 participant