1. The Space Role Object

The Space Role Object

Properties

  • id

    number

    Numeric Unique ID

  • role

    string

    Role of the collaborator, could be admin, editor or custom roles

  • allowed_paths

    number[]

    Story ids the user should have access to (acts as whitelist). If no item is selected the user has rights to access all content items.

  • resolved_allowed_paths

    string[]

    Resolved allowed_paths for displaying paths

  • field_permissions

    string[]

    Hide specific fields for this user with an array of strings with the schema: "component_name.field_name"

  • permissions

    enum[]

    Allow specific actions for collaborator in interface and add the permission as array of strings

    PermissionDescription
    publish_storiesAllow publishing of content entries
    save_storiesAllow editing and saving of content entries
    edit_datasourcesAllow editing and saving of datasources
    access_commerceAllow access to commerce app
    edit_story_slugDeny the change of slugs of content entries
    move_storyDeny moving of content entries
    view_composerDeny access to visual composer