Loading...
 
Skip to main content

editing category permissions fails for group-names with "~" as namespace separator generated by workspaces

Status
Open
Subject
editing category permissions fails for group-names with "~" as namespace separator generated by workspaces
Version
15.x
Category
  • Error
Feature
Permission
Workspace
Resolution status
New
Submitted by
RadoS
Volunteered to solve
Lastmod by
RadoS
Rating
(0)
Description

Use "~" for Namespace separator as advised/ suggested by tiki-doc.
Create Workspace Template, generate Workspace from it.
Produces "template~workspace" as workspace name for category, group, perspective.

Now such a workspace needs permissions changed from the default of the template.
Admin Category, hit "Permissions", edit entries for the dedicated group(s), save.

In the Permissions UI the save is not reflected, it's the same as before.
In the DB the table "users_objectpermissions" received new entries for "template" rather than "template~workspace".

Haven't verified yet whether it's related to "~" as Namespace separator or not.

Workaround

UPDATE users_objectpermissions SET users_objectpermissions.groupName='template~workspace' WHERE users_objectpermissions.groupName='template';


In the show instance I created "default" and "edited" workspaces, where the "edited" should have some permissions added for file gallery, comments and wiki, but hasn't, but the effect on the DB should be visible.

Importance
4
Priority
20
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
6213
Created
Tuesday 27 December, 2016 10:45:10 UTC
by RadoS
LastModif
Tuesday 27 December, 2016 11:34:08 UTC


Show PHP error messages