In a self-hosted MonkeyAI (百智办公) deployment, a member opens a conversation and cannot find a model. Support has to choose between retry, grant access, fix membership, or escalate. A broad grant is a coarse change; it is harder to tie to a named failed gate than a narrow one. This article uses an illustrative ticket, not a recorded incident. The decision owner is the admin or support engineer. The point of reversibility is before any permission change.
The review flow records four access states before any permission change:
member record exists?
no -> record member_exists=false; mark dependent gates not_observable
yes -> record true
|
member in intended group?
no -> record group_membership=false
yes -> record true
|
model enabled?
no -> record model_enabled=false
yes -> record true
|
model scope includes intended group/user?
no -> record model_scope=false
yes -> record true
|
ask member to check the picker
appears? yes -> record evidence; no permission change
missing? -> if all four true, stop and escalate
if a gate is false or not_observable, fix or collect only that gate after the card is complete
The diagram is a proposed review flow, not a measured support process.
What the pinned source shows
The setup guide separates adding a member from granting a team model. It places member work in System → Members / Groups and model grants in Resources → Models. See the self-host setup section. Creating an account is not the same as making a model available.
The guide also says a member signs in and selects a model in a conversation; if a model is missing, it advises checking whether the model is enabled and accessible to the member or group. See the same setup guide.
The model editor maps authorization.group_ids to groupIds and authorization.user_ids to memberIds. It uses an empty array for either missing list and reads the model's enabled flag separately. See models-page.tsx lines 319-325. These are source-level observations about the editor. They do not prove backend enforcement or billing behavior.
Do not infer enforcement from a UI field alone. The proposed check below uses a disposable member and group. It is not a measured result.
Prerequisites
Use a disposable member and group. Work in a non-production conversation. Keep the pinned commit open. Agree that no production permission changes happen during the observation. You need admin access to System → Members / Groups and Resources → Models.
Step 1: Write the evidence card first
Write the card before touching permissions. The card forces the reviewer to name the missing state. This is an illustrative schema, not a MonkeyAI API.
Card fields:
- ticket: illustrative-001
- decision: retry, grant, fix_membership, or escalate
- member_id, group_id, model_id
- states: member_exists, group_membership, model_enabled, model_scope
- each state starts as unknown and is later recorded as true, false, or not_observable with a reason
- stop_condition: all four true but the model is still missing
- reviewer and timestamp
Verification: before any permission change, each state field has a recorded value and a source. Unknown is not permission to proceed. A false value names the gate to fix. A not_observable value names the evidence still needed. Recovery: if a field is unknown, stop and collect it. An incomplete card invites a broad grant.
Completeness check, in prose: before a grant or membership change, confirm that each state field contains an observed value, not an unknown. A false value is valid evidence; unknown is not. Do not use a truthiness test as a substitute for a recorded observation.
Step 2: Confirm the member exists
Open System → Members / Groups. Confirm whether the member record exists. Record the member ID and member_exists as true or false. The setup guide treats member creation as its own step. See the setup guide.
Verification: the member appears in the member list. Recovery: if false, record it and do not grant a model to compensate for a missing account. Create the member only after the card is complete, then repeat the member check.
Step 3: Confirm group membership
Check whether the member is currently in the intended group. Record the group ID and group_membership as true or false. If the member record is missing, mark this state not_observable with that reason. Do not add the member to the group during this observation step. Treat group membership as a separate gate from model enablement. A wrong group looks like a model problem, but it is a membership problem.
Verification: the member is listed in the intended group. Recovery: if false, add the member to the intended group only after the card is complete. Do not add an individual model grant to hide a group error.
Step 4: Confirm the model is enabled
Open Resources → Models. Check the model's enabled state. Record model_enabled as true or false. The editor reads that field separately from the scope fields. See models-page.tsx lines 319-325.
Verification: enabled is true for the intended model. Recovery: if false, review the enablement decision after the card is complete. Enabling a model is not the same as granting it to a member or group.
Step 5: Confirm model scope
Check group_ids and user_ids as separate scope fields. Record model_scope as true or false for the intended group or user. The editor maps authorization.group_ids to groupIds and authorization.user_ids to memberIds. See models-page.tsx lines 319-325. The narrowest correct scope is the intended group or user.
Verification: the intended group or user appears in scope. Recovery: if false, add the narrowest missing scope after the card is complete. Do not widen to every group to close one ticket.
Step 6: Ask the member to check the model picker
After all four states are recorded, ask the member to sign in and open a conversation. The setup guide says the member selects a model in a conversation. See the setup guide. If the model is missing, the guide advises checking enablement and access.
Verification: record whether the model appears in the member's picker. Interpretation: if the model appears while a recorded state is false, do not treat that as proof that the false state is harmless; check whether the card was filled from the correct member, group, and model. Record the appearance and make no permission change from that result alone. If the model is missing and all four states are true, stop and escalate. If the model is missing and one state is false or not_observable, fix or collect only that state, then repeat the member check and record new evidence.
Step 7: Stop or escalate
If all four states are true and the model is still missing, stop changing permissions. Collect the member ID, group ID, model ID, client version, and timestamp. Escalate to the server or client owner. A retry is not a diagnostic.
If one state is false, fix only that state. Then repeat the member check. Record the new evidence. This keeps the permission change tied to a named failure.
Proposed observation-based protocol for five tickets
This is a proposed protocol, not a measured study. Select five missing-model reports with consent. Fill the four-state card before any permission change. Classify the first false or not_observable state. Record whether the reviewer could name that state and choose a narrow recovery without a broad grant.
The success measure is the review behavior: a reviewer names the failed gate and chooses a narrow recovery. The stop measure is also behavioral: all four gates pass and the model is still missing. At that point, freeze permission changes and collect logs.
Do not report a success rate from five tickets. The protocol tests the review card, not the product. It may also show whether support is guessing, but that is an interpretation of the observations, not a product metric.
Accessibility review
For this review, status should be text, not color alone. Write enabled or disabled next to the control. Keep member, group, and model IDs copyable. The error message should name the next action, not just say the model is unavailable.
Screen reader users need state changes announced. A toggle that changes silently fails this review. Keyboard users need to reach the model picker and the evidence card. Hover-only details are not evidence.
Failure modes and tradeoffs
Failure modes to watch:
- treating enabled as access;
- fixing a group error with an individual grant;
- retrying without new evidence;
- over-granting to end the ticket.
The four gates add support time. Whether they reduce permission drift is not measured here. Use them when access is the suspected cause. Do not use them when the member can see the model and the request fails later. That is a different failure path.
This approach does not apply when the admin cannot inspect members, groups, or model scope. It also does not apply when the model is visible but a conversation still fails. In those cases, collect logs and route to the owning team.
Disclosure
AI assistance was used to prepare this draft. The team preparing material on MonkeyAI commissioned the article. This is a draft; a human must verify the pinned source, the local behavior, and DEV's current policy before publishing. No test result is claimed.
This article was created with AI assistance.
Top comments (0)