Loading...
 
Skip to main content

New option to add a custom text on the "Permission denied" error remarks box

Status
Open
Subject
New option to add a custom text on the "Permission denied" error remarks box
Resolution status
New
Submitted by
Bernard Sfez / Tiki Specialist
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Description

When a user is in a group that doesn't allow to view an area in Tiki he may sees different generic message.

To reproduce:
Not logged go to : https://dev.tiki.org/tiki-admin.phpQuestion
The message is: "You do not have the permission that is needed to use this feature: tiki_p_admin"

Not logged go to : https://dev.tiki.org/tiki-ajax_services.php?controller=tabular&action=manageQuestion
The message is "Permission denied"

Not logged go to a page that requires permissions.
The message is "You do not have permission to view this page."

There may be other messages.

Overall while these explain what is the issue (some clarification may be needed - the tiki-ajax_services.php is not very helpful to understand/solve the issue) in most case the message is technical and not very user friendly. As there may be many different cases for a feedback here, I suggest we have a custom limited textarea field the admin can add below the initial message.

The most common usage that comes to my mind would be.

"If you feel you see this message by mistake, Please contact the site support." (site support being a link to a form or an email)

Importance
3
Easy to solve?
8
Priority
24
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
8670
Created
Tuesday 27 August, 2024 05:25:47 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Tuesday 27 August, 2024 05:25:47 UTC


Show PHP error messages