- Issue created by @pameeela
- First commit to issue fork.
- Merge request !46Issue #3495493: Redirect on user login should check whether user has access to any dashboards → (Open) created by plopesc
- 🇪🇸Spain plopesc Valladolid
Hello,
Checked the logic in the dashboard module to double check that scenario described is covered and found out that users with no access to dashboard are not being affected by dashboard redirects and they follow the default Drupal flow.
Tested manually in a vanilla Drupal site with standard profile and only dashboard enabled following these steps:
- Run
ddev drush si standard -y && ddev drush en navigation dashboard -y
- Run
ddev drush user:create foo --password='foo'
- Login as user 1 and create a dashboard from the UI, and ensure that it is enabled
- Logout
- Login as
foo
user and confirm that no 403 error is thrown. User is redirected to their user profile page instead
Thanks to this issue, found out that we had not an specific test for the described scenario and added it to the new MR.
- Run
- 🇪🇸Spain plopesc Valladolid
This one is related to 🐛 Authenticated users get access denied Active . I think we can mark this as duplicated and continue the global discussion there.
Thank you for reporting!