Customer / Partner Dashboard menu items redirection when not authorized

  • joomleb
  • Topic Author
  • Away
More
2 months 4 weeks ago - 2 months 4 weeks ago #18360 by joomleb
Hi guys,
PHP 7.4.20 + Joomla 3.9.27 + Solidres 2.12.0 beta + HUB plugin 1.12.0 etc

On all Partner Dashboard / Customer Dashboard single menu items:
if user is not logged > redirecting to the login page
if user is logged in and have no User Group permissions > redirecting to the “Options > HUB > Partner logout redirect” setting, by showing the standard Joomla Alert JERROR_ALERTNOAUTHOR "You are not authorised to view this resource."
Never should be shown the Error 403 / Error 404 pages errors

if user is not logged / if user is logged with no permissions

Customer Dashboard - ?option=com_solidres&view=customer - Ok login page / Error 403
My Feedback - ?layout=feedbacks - Ok login page / Error 403
My Profile - ?view=myprofile&layout=edit - Ok login page / Error 403
M WishList Property - ?layout=wishlist&scope=reservation_asset - Of login page / Error 403
M WishList Experience - ?layout=wishlist&scope=experience - Ok login page / Error 403
My Experiences - ?view=myexperiences - Ok login page / Error 403
My Invoices - ?view=customerinvoices - Error 403 / Error 403

Partner Dashboard - ?option=com_solidres&view=dashboard - Ok login page / Error 403
Properties - ?view=reservationassets - Error 403 / Error 403
Rooms Types - ?view=roomtypes - Error 403 / Error 403
Calendars - ?view=calendars - Error 403 / Error 403
Coupons - ?view=coupons - Error 403 / Error 403
Extras - ?view=extras - Error 403 / Error 403
Reservations - ?view=reservations - Error 403 / Error 403
Invoices - ?view=invoices - Error 403 / Error 404
Register Card - ?view=registrationcard - Error 404 / Error 404
Limit Bookings - ?view=limitbookings - Error 403 / Error 403
Discounts - ?view=discounts - Error 403 / Error 403
Feedbacks - ?view=feedbacks&filter_scope=0 - Ok login page / Error 403
Experience - ?view=experiences&ctrl=hub - Error 403 / Error 403
Reservatios - ?view=expreservations - Error 403 / It is visible ! = It has access
Feedback - ?view=feedbacks&filter_scope=1 - Ok login page / Error 403
Statistics - ?view=expdashboard&ctrl=hub - Error 403 / Error 403
Extras - ?view=expextras - Error 403 / It is visible !
Guides - ?view=expguides - Ok login page / It is visible !
Coupons - ?view=expcoupons - Ok login page / It is visible !
Invoices - ?view=expinvoices - Error 403 / It is visible !
Staff - ?view=staffs - Ok login page / Error 403
Last edit: 2 months 4 weeks ago by joomleb.

Please Log in or Create an account to join the conversation.

More
2 months 3 weeks ago #18368 by solidres
Hi,

For unauthorized access, sometimes it will show the login page, sometimes it will show the 403 error page, it is not consistent at this moment and we will find a way to unify it in future releases.

Regards,

Please Log in or Create an account to join the conversation.

  • joomleb
  • Topic Author
  • Away
More
2 months 3 weeks ago - 2 months 3 weeks ago #18369 by joomleb
Hi guys,
anyway, the 5 pages "It is visible !" without having the right User Group permission should be fixed asap...

Then, Please, Can you move this in the Feature Requests section ?

PS - You have to consider that also if a Customer or a Partner is using Solidres and incour in an automatic logout due to some minutes of inactivity to see a 403 or a 404 Error page is really the worst thing for them... (that they "cannot understand")
Last edit: 2 months 3 weeks ago by joomleb.

Please Log in or Create an account to join the conversation.

More
2 months 2 weeks ago #18392 by solidres
Hi,

We could not replicate this issue, please raise a new private support ticket and provide us your website info so that we can check it further for you.

Regards,

Please Log in or Create an account to join the conversation.

  • joomleb
  • Topic Author
  • Away
More
2 months 2 weeks ago #18398 by joomleb
Hi,
done, Tickket ID dm2CWKDLFtY
staying tuned

Please Log in or Create an account to join the conversation.

Moderators: solidres
Powered by Kunena Forum

All the things you need to make your work easier. Did you like Solidres?