Loading...
 
Skip to main content

Global permission for tiki_p_modify_object_categories is not applied when you add permission to a tracker

Status
Open
Subject
Global permission for tiki_p_modify_object_categories is not applied when you add permission to a tracker
Version
21.x
Category
  • Conflict of two features (each works well independently)
  • Error
Feature
Category
Trackers
Resolution status
Confirmed
Submitted by
Bernard Sfez / Tiki Specialist
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Description

On a tracker item with category field (multiselect) the admin can assign during the item creation different category to an item.

User with "Can admin categories (tiki_p_admin_categories)" and field editable perm can’t even see the categories.

I created an instance that show the issue.

Update (27/07/2020)

It turns out that when you modify "this" tracker permission, the global permissions on "Can change the categories of an object (tiki_p_modify_object_categories)" won’t be applied and will be then "saved" disabled even if you didn’t change anything for it.

This is a bug. If you don’t change a perm for an object (in this case a tracker but it may be valid for any object) the global should keep being applied.

Workaround
You have to manually force the permission on the tracker itself (this may be valid for other objects)
Importance
7
Easy to solve?
5
Priority
35
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7393
Created
Wednesday 17 June, 2020 06:31:33 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Saturday 27 June, 2020 19:41:58 UTC


Show PHP error messages