Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.2] [Guided Tours] Fix permission errors when recording user tour state #44082

Merged
merged 11 commits into from
Sep 18, 2024

Conversation

obuisard
Copy link
Contributor

@obuisard obuisard commented Sep 15, 2024

Pull Request for Issue #44080.

Summary of Changes

The Guided Tours component, until now, did not have a dispatcher.
We do not want to have restrictions on the Ajax call when a tour is running so that any user having access to the administrator console can have its tour state recorder.

Testing Instructions

Create a user with Manager access permissions.
Log as that user.
Either the welcome or the what's new tour should start.

Actual result BEFORE applying this Pull Request

When dismissing the tour (in any way), you get the error:
image
The state of the tour is not recorded.

Expected result AFTER applying this Pull Request

No more errors.
On an auto-starting tour, the state of the tour is recorded in #__user_profiles table.
If tours are logged, there should be entries in the action logs.

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

@obuisard obuisard changed the title [5.2] [Guided Tours] [5.2] [Guided Tours] Fix permission errors when recording user tour state Sep 15, 2024
@joomla-cms-bot joomla-cms-bot added the Language Change This is for Translators label Sep 16, 2024
@brianteeman
Copy link
Contributor

I have tested this item ✅ successfully on 9af535f

Issue replicated and fix confirmed


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/44082.

Co-authored-by: Brian Teeman <brian@teeman.net>
@richard67
Copy link
Member

I've restored @brianteeman 's previous test result in the issue tracker as the change after that was only a case change in a language string.

@tecpromotion
Copy link
Contributor

I have tested this item ✅ successfully on 8b919f5


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/44082.

@tecpromotion
Copy link
Contributor

RTC

@richard67
Copy link
Member

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/44082.

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Sep 17, 2024
@Hackwar Hackwar merged commit e5ac549 into joomla:5.2-dev Sep 18, 2024
0 of 2 checks passed
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Sep 18, 2024
@Hackwar
Copy link
Member

Hackwar commented Sep 18, 2024

Thank you for your contribution @obuisard!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants