Skip to content

Sessions

Thom Bruce edited this page Apr 15, 2020 · 2 revisions

Sessions are responsible for all of the authentication and authorization logic behind Helvellyn CMS. They come in several forms:

  1. User Session
  2. Workspace Session

Workspace sessions are used to authorize access to your public API. In the UI, this is your API Token on the Workspace edit page.

Attributes

Attribute Type Access
id integer public
user_id integer public
workspace_id integer public
token token admin

Ephemeral Properties

Session has an ephemeral attribute called current_workspace. This is used to asset that the current session has permissions to access the current resource, typically nested as a descendant of a workspace.

Clone this wiki locally