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
- 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+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 6213
- Created
- Tuesday 27 December, 2016 10:45:10 UTC
by RadoS - LastModif
- Tuesday 27 December, 2016 11:34:08 UTC