Skip to content

Scene page does not display Spoke links to admins unless Spoke is enabled for all users #6567

@DougReeder

Description

@DougReeder

Description

  • Scene page does not display Remix link to admins unless Spoke is enabled for all users
  • Scene page does not display Edit button for the admin scene owner unless Spoke is enabled for all users

To Reproduce

  1. On Admin Panel, App Settings, Features, set "Enable Scene Editor" to on.
  2. In a browser where you are logged in as an admin, navigate to the scene page of a scene that you own (for example, example.com/scenes/abc123).
    • Observe that the link "Edit in Scene Editor" is displayed and works.
  3. In a browser where you are logged in as a regular user, navigate to the scene page of a scene that you own (for example, example.com/scenes/abc123).
    • Observe that the link "Edit in Scene Editor" is displayed and works.
  4. In a browser where you are not logged in, navigate to the scene page of a scene that you own (for example, example.com/scenes/abc123).
    • Observe that the link "Edit in Scene Editor" is not displayed.
  5. In a browser where you are logged in as an admin, navigate to a remixable scene page (for example, example.com/scenes/abc123).
    • Observe that the link "Remix in Scene Editor" is displayed and works.
  6. In a browser where you are logged in as a regular user, navigate to a remixable scene page (for example, example.com/scenes/abc123).
    • Observe that the link "Remix in Scene Editor" is displayed and works.
  7. In a browser where you are not logged in, navigate to a remixable scene page (for example, example.com/scenes/abc123).
    • Observe that the link "Remix in Scene Editor" is displayed and works (you will need to sign in to publish).
  8. On Admin Panel, App Settings, Features, set "Enable Scene Editor" to off.
  9. In a browser where you are logged in as an admin, navigate to the scene page of a scene that you own (for example, example.com/scenes/abc123).
    • Observe that the link "Edit in Scene Editor" is not displayed.
  10. In a browser where you are logged in as a regular user, navigate to the scene page of a scene that you own (for example, example.com/scenes/abc123).
    • Observe that the link "Edit in Scene Editor" is not displayed.
  11. In a browser where you are not logged in, navigate to the scene page of a scene that you own (for example, example.com/scenes/abc123).
    • Observe that the link "Edit in Scene Editor" is not displayed.
  12. In a browser where you are logged in as an admin, navigate to a remixable scene page (for example, example.com/scenes/abc123).
    • Observe that the link "Remix in Scene Editor" is not displayed.
  13. In a browser where you are logged in as a regular user, navigate to a remixable scene page (for example, example.com/scenes/abc123).
    • Observe that the link "Remix in Scene Editor" is not displayed.
  14. In a browser where you are not logged in, navigate to a remixable scene page (for example, example.com/scenes/abc123).
    • Observe that the link "Remix in Scene Editor" is not displayed.

Expected behavior
The Spoke URLs shown should be exactly the same for admin accounts even if "Enable Scene Editor" is off, while regular and not logged in users should not be shown the links.

Actual behavior
Admin accounts are not shown the edit and remix links when "Enable Scene Editor" is off. Regular and not logged in users also aren't shown the links, but this is expected.

Screenshots

Image Image

Hardware

  • Device: Intel Mac
  • OS: MacOS Sequoia 15.6.1
  • Browser: Firefox, Chrome

Additional context
This is not a regression from any recent changes, and may never have worked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneeds triageFor bugs that have not yet been assigned a fix priority

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions