Return different "Not permitted" error message depending on what is required #2548

This commit is contained in:
Kijin Sung 2025-05-22 13:20:48 +09:00
parent 7cba835065
commit bb4cd62e31
5 changed files with 91 additions and 35 deletions

View file

@ -251,7 +251,8 @@ $lang->msg_not_founded = 'Cannot find the target.';
$lang->msg_no_result = 'No results found.';
$lang->msg_fail_to_request_open = 'Failed to open your request.';
$lang->msg_invalid_format = 'Invalid Format';
$lang->msg_not_permitted_act = 'You do not have permission to execute requested action.';
$lang->msg_administrator_only = 'Only administrators can access this page.';
$lang->msg_not_permitted_act = 'You do not have permission to access this page.';
$lang->msg_module_is_not_exists = 'Cannot find the page you requested. Ask your Site Admin to check the page.';
$lang->msg_module_is_not_standalone = 'Requested page cannot be executed independently.';
$lang->msg_module_class_not_found = 'Cannot find class to handle the requested action.';