Skip to content

support the general access dialog section - #341

Merged
SharonStrats merged 3 commits into
stagingfrom
feat/access-general
Oct 9, 2026
Merged

SharonStrats merged 3 commits into
stagingfrom
feat/access-general

Conversation

@SharonStrats

@SharonStrats SharonStrats commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Support the general access dialog section for public and authenticated agents.

Prompt: tests were added by ai, multiple prompts

Co-authored-by: GPT-5.4 Mini <gpt-5.4-mini@openai.com>
@SharonStrats
SharonStrats requested review from timea-solid and a balanced review from Copilot October 9, 2026 07:26
@SharonStrats SharonStrats self-assigned this Oct 9, 2026
@SharonStrats SharonStrats added the enhancement New feature or request label Oct 9, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

Two test fixtures use an incorrect AuthenticatedAgent IRI and should match the production ACL subject.

2 open findings
What changed in this PR

Adds ACL APIs needed by the general access dialog.

Changes:

  • Exposes public/authenticated subjects and public access roles.
  • Adds public-role/mode mappings and API tests.
  • Updates test doubles and package version.
File Description
src/​acl/​aclLogic.ts Implements and exposes public ACL roles and subjects.
src/​types.ts Extends the public ACL interface.
src/​index.ts Exports the new ACL API.
test/​publicAclApi.test.ts Verifies exports, mappings, and types.
test/​resourceLogic.test.ts Updates the ACL test double.
test/​resource/​resourceLogic.test.ts Updates the resource ACL fixture.
package.json Bumps the package version.
package-lock.json Synchronizes the package version.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread test/resource/resourceLogic.test.ts Outdated
Comment thread test/resourceLogic.test.ts Outdated
SharonStrats and others added 2 commits October 9, 2026 18:39
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@SharonStrats
SharonStrats merged commit ad8792f into staging Oct 9, 2026
7 checks passed
@SharonStrats
SharonStrats deleted the feat/access-general branch October 9, 2026 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants