Allow Tours to be taken by users that cannot access the Toolbar (e.g. anonymous users)

Created on 19 August 2013, almost 11 years ago
Updated 23 April 2024, 2 months ago

Problem/Motivation

Anonymous users cannot start Tours. Currently Tours can only be started by clicking a button in the toolbar, and typically anonymous users have no permission to access the toolbar.

Proposed resolution

Provide a block with a button to start a Tour. This block can then be freely placed anywhere in the website.

How to test

  1. Grant permission to access tours and the views UI (lol) to the authenticated and/or anonymous user role.
  2. Place the block in the sidebar.
  3. Log in as a test user and visit admin/structure/views.
  4. Click on a view to access it.
  5. Click the tour button in the sidebar.
  6. Or visit ie http://drupal.d8/admin/structure/views/view/frontpage?tour=1 (as both authenticated or anonymous

Remaining tasks

User interface changes

None.

API changes

None.

Data model changes

None.

Original report by clemens.tolboom

As the tour icon is only available on the Toolbar anonymous users must get access to the Tour icon.

Without the 'Use the administration toolbar' the tour code is not loaded on the page so even an auto start like http://drupal.d8/?tour=1 fails.

Having the toolbar enabled the user get an access denied for the 'Menu' button.

✨ Feature request
Status

Needs work

Version

1.0

Component
TourΒ  β†’

Last updated 14 days ago

Created by

πŸ‡³πŸ‡±Netherlands clemens.tolboom Groningen, πŸ‡³πŸ‡±/πŸ‡ͺπŸ‡Ί

Live updates comments and jobs are added and updated live.
  • Needs accessibility review

    Used to alert the accessibility topic maintainer(s) that an issue significantly affects (or has the potential to affect) the accessibility of Drupal, and their signoff is needed (see the governance policy draft for more information). Useful links: Drupal's accessibility standards, the Drupal Core accessibility gate.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024