Repository navigation
Replies: 1 comment
|
This is already something we are discussing internally so hopefully we can address this soon. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Summary
Access to the AI section is all-or-nothing. A user group with the AI section can view and change everything in it, and a group without it can see none of it. There's no way to let people such as editors or content leads see usage and audit information without also letting them administer AI.
Current behaviour
Checked against the Umbraco.AI 17.8.0 and 18.6.1 packages:
aisection is gated byUmb.Condition.SectionUserPermissionin the backoffice.AIAuthorizationPolicies.SectionAccessAI, which the AI management API carries.#306 split using AI (Copilot in the content editor) from administering it, and that works well: editors can use Copilot without the AI section. What remains is the other direction: seeing what AI is doing and costing, without being able to change it.
Use case
Editors, content leads or budget owners should be able to open Analytics (usage, tokens, trends) and Audit logs (who ran what) so they can see how AI is being used. They should not be able to create or edit Connections or Profiles, change Agents or Guardrails, or alter any settings.
Today the choices are to grant the whole section (every user in that group can edit connections and profiles, and potentially see configuration they shouldn't) or to give them nothing.
Proposal
Split the single permission into at least two levels:
Preferably this would be:
SectionAccessAI), enforced server-side, andServer-side enforcement matters: hiding menu items in the UI doesn't protect the API, which currently only checks
SectionAccessAI.Alternatives considered
Related
Environment
Umbraco 17.7.x, Umbraco.AI 17.8.0 (behaviour also seen in 18.6.1 package metadata).
All reactions