Skip to content

handle the origin type for solidos - #338

Open
SharonStrats wants to merge 1 commit into
stagingfrom
fix/acl-origin
Open

SharonStrats wants to merge 1 commit into
stagingfrom
fix/acl-origin

Conversation

@SharonStrats

@SharonStrats SharonStrats commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Dokeili's plans do not include origin in the same way as the other access types and in the way we do it in solidos. It is handled in a different way like this

planGrant(
  context,
  { type: 'agent', iri: 'https://alice.example/#me' },
  ['Read'],
  { origin: ['https://app.example'] }
)

so the agent is also tied to the origin. I am wondering if we should do it this way and add the user granting access as the agent?

Should we create a ticket for another release where we handle origins differently to other access types and allow a user to select an agent, agentGroup, agentClass to tie to the origin?

This PR adds origin access as we currently do now, but hides that from the consumer.

Prompt: dokeili's plans do not include origin, check for origin and
create an origin plan following our existing logic in the acl directory
for origins. we do not need originClass at this time

Co-authored-by: GPT-5.4 Mini <gpt-5.4-mini@openai.com>
@SharonStrats SharonStrats self-assigned this Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

1 participant