freigabe_setzen
Set access level for a single lesson or node: choose offen (exportable), intern (internal), or gesperrt (blocked). Requires exactly one entry ID; ambiguous IDs are rejected.
Instructions
Decide, for ONE entry, who may see it: 'offen' (may leave the house), 'intern' (default -- stays here) or 'gesperrt'. Works for a lesson or a node; the id decides which, and an id found in both tables is rejected as ambiguous rather than guessed. Takes exactly ONE id -- a comma-separated list or a wildcard is refused, not split up: every entry is decided individually or stays 'intern' (migrate_freigabe.py). Unlike a norm decision this is NOT binding -- the way back from 'offen' to 'intern' is explicitly allowed. Logged in access_log like any other decision.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor | No | Calling agent identity; else BEGOD_KNOWLEDGE_ACTOR or unknown | |
| model | No | Calling model; else BEGOD_KNOWLEDGE_MODEL or unknown | |
| stufe | Yes | offen = may be exported, intern = stays here, gesperrt = blocked | |
| session | No | Stable session ID; else BEGOD_KNOWLEDGE_SESSION or unknown | |
| eintrag_id | Yes | Exactly one lesson id or node id -- no list, no pattern |