-
-
Notifications
You must be signed in to change notification settings - Fork 0
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:
- User Session
- 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.
Attribute | Type | Access |
---|---|---|
id | integer | public |
user_id | integer | public |
workspace_id | integer | public |
token | token | admin |
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.