- Posts: 687
- Home
- Forum
- Community Forum
- Report bugs
- Problem with the email confirmation
- Forum
- Community Forum
- General discussions
- Customer / Partner Dashboard menu items redirection when not authorized
Customer / Partner Dashboard menu items redirection when not authorized
- joomleb
- Topic Author
- Offline
Less
More
3 years 10 months ago - 3 years 10 months ago #18360
by joomleb
Customer / Partner Dashboard menu items redirection when not authorized was created 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
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: 3 years 10 months ago by joomleb.
Please Log in or Create an account to join the conversation.
- solidres
-
- Away
Less
More
- Posts: 2957
3 years 10 months ago #18368
by solidres
FAQ: www.solidres.com/support/frequently-asked-questions
Support Policy: www.solidres.com/support-policy
Replied by solidres on topic Customer / Partner Dashboard menu items redirection when not authorized
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,
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,
FAQ: www.solidres.com/support/frequently-asked-questions
Support Policy: www.solidres.com/support-policy
Please Log in or Create an account to join the conversation.
- joomleb
- Topic Author
- Offline
Less
More
- Posts: 687
3 years 10 months ago - 3 years 10 months ago #18369
by joomleb
Replied by joomleb on topic Customer / Partner Dashboard menu items redirection when not authorized
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")
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: 3 years 10 months ago by joomleb.
Please Log in or Create an account to join the conversation.
- solidres
-
- Away
Less
More
- Posts: 2957
3 years 10 months ago #18392
by solidres
FAQ: www.solidres.com/support/frequently-asked-questions
Support Policy: www.solidres.com/support-policy
Replied by solidres on topic Customer / Partner Dashboard menu items redirection when not authorized
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,
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,
FAQ: www.solidres.com/support/frequently-asked-questions
Support Policy: www.solidres.com/support-policy
Please Log in or Create an account to join the conversation.
- joomleb
- Topic Author
- Offline
Less
More
- Posts: 687
3 years 10 months ago #18398
by joomleb
Replied by joomleb on topic Customer / Partner Dashboard menu items redirection when not authorized
Hi,
done, Tickket ID dm2CWKDLFtY
staying tuned
done, Tickket ID dm2CWKDLFtY
staying tuned
Please Log in or Create an account to join the conversation.
Moderators: solidres