Loading...
 
Skip to main content

User must have global permission tiki_p_edit for adding a new page in categorized structure also he has it in the categorie.

Status
Closed
Subject
User must have global permission tiki_p_edit for adding a new page in categorized structure also he has it in the categorie.
Version
6.x
Category
  • Conflict of two features (each works well independently)
Feature
Category
Wiki Structure (book & table of content)
Resolution status
Fixed or Solved
Submitted by
Ushindi Gedeon
Lastmod by
Ushindi Gedeon
Rating
(0)
Description

I defined a structure Helpdesk FAQ and a categorie Helpdesk.
Now I give a group Helpdeskadmin the permission tiki_p_edit (and a lot of others).

If a helpdeskadmin trys to add a page with the button on the top of the wikipage with over the toc, the message "You do not have permission to edit this page." appears.

The problem seems to be the following permission test in tiki-editpage.php:

// Permissions
$tikilib->get_perm_object($page, 'wiki page', $info, true);
if ($tiki_p_edit !== 'y') {
...
$smarty->assign('errortype', 401);
$smarty->assign('msg', tra("You do not have permission to edit this page."));
$smarty->display("error.tpl");
die;
}

If I give the permission tiki_p_edit to the group, the helpdeskadmin comes to the wysiwyg-edit-page, also he gets a message like the page must have a categorie. I didn't analyzed that yet.

Solution
Workaround
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
3999
Created
Thursday 29 September, 2011 11:59:13 UTC
by fhkd
LastModif
Thursday 02 July, 2026 10:18:48 UTC


Show PHP error messages