- bc_set_actor(+User) is det
- Sets thread-local for the current
user. Must be called from the REST handlers.
- bc_actor(-User) is det
- Retrieves the current API user.
Throws
error(no_actor_set)
when no user is set.
- bc_unset_actor is det
- Unsets the author thread-local.
Must be called from the REST handlers.