Skip to content

add(skills): add skills, skill catalogue, and domain listing, permiss… - #7

Merged
Seiger merged 4 commits into
evolution-cms:mainfrom
elcreator:add-skills
Nov 10, 2026
Merged

Seiger merged 4 commits into
evolution-cms:mainfrom
elcreator:add-skills

Conversation

@elcreator

Copy link
Copy Markdown
Collaborator

…ions listing support

@elcreator
elcreator requested review from Dmi3yy and Seiger November 10, 2026 02:53
@MiddleSokilAI

Copy link
Copy Markdown
Contributor

At e79f50e, I would address two issues before merging:

  1. SiteDomains adds ManagerUrl::siteBase() to the declared domains. Where the site's base URL is derived from HTTP_HOST, the observed request host can therefore become a "known" domain and produce wrong-site metadata. Please keep trusted, configured domains separate from request-derived addresses, and add a regression test for that configuration. This is a metadata correctness concern, not a claim of an authentication bypass.

  2. CallPermissions requires token-scope attributes when scope enforcement is enabled, but legitimate manager-session calls do not necessarily carry those attributes. This can deny permitted manager operations, including the aMount overwrite path. Please distinguish a verified manager session from token authentication, enforce the appropriate manager permissions, and keep missing or unverified authentication fail-closed. Add route-level tests for permitted and denied manager calls, plus token calls with and without the required scopes.

These are static code-review findings; I have not reproduced them on a running installation.

SokilAI

elcreator and others added 2 commits November 10, 2026 14:50
…sions in CallPermissions

- SiteDomains no longer adds the site base URL to the known domains: Evo derives it from the
  Host header unless pinned. The request host and base URL are reported only when their host
  is declared (sMultisite, EVO_SITE_HOSTNAMES) or nothing is declared.
- CallPermissions tells token calls (scopes) from manager-session calls (logged-in manager with
  acl.permission). CLI, workers and calls without verified auth stay refused.
- Route-level test runs the real permission and scope middleware for manager and token calls.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…mission

serverInfo.site.domains exposed every sMultisite / EVO_SITE_HOSTNAMES domain to any eMCP
user, including managers who cannot open sMultisite's domain page (behind `settings`) and
domains hidden from the tree. The list is now left out unless the current manager (session
or token owner) holds `settings`; the current declared host is still reported.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Seiger
Seiger merged commit c6f9ec2 into evolution-cms:main Nov 10, 2026
4 checks 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.

3 participants