Editor Data
The platform object is available from the editor UI and within the site overview and site preview pages (if logged in).
Account
platform.data.account
Information about the account logged into the platform. This can be accessed within the editor and dashboard.
Property | Description |
---|---|
name | The account that is using the editor/dashboard. |
The email associated with the account using the editor/dashboard. | |
type | The type of account that is using the editor/dashboard. Will have a value of either STAFF or CLIENT. |
last_login | The datetime of the last login. Null if the user has not logged in before. |
permissionGroup | The permissionGroup object containing the data regarding the STAFF member. Is null if the type parameter is CLIENT. |
permissions | The set of permissions associated with the client. See the Client Permissions Object for the full list of available permissions. Is null if the type parameter is STAFF. |
permissionGroup
Property | Description |
---|---|
name | The name of the permission group a STAFF member is assigned to. |
title | The title of the permission group a STAFF member is assigned to. |
type | The type of the STAFF member. Can be either DUDA or CUSTOM. |
permissions | The set of permissions associated with the STAFF member. See the Team Permissions Object for the full list of available permissions. |
Site
platform.data.site
The site that is being edited. This can only be accessed within the editor.
Updated 13 days ago