Closed pboguslawski closed 6 months ago
@pboguslawski This group is necessary since it's required to permit access to the ticket operation TimeAccountingGet.
To fix this it's required to have this group.
To fix this it's required to have this group.
Forcing to create separate, hard-coded group for one specific and optional (if understood correctly) web operation sounds bad.
If separate privilege is necessary for this op, consider rather introducing sysconfig parameter with group name for it, empty by default; then when admin wants to grant access to this op, should set chosen group (creating it manually if necessary).
Already fixed for Znuny LTS 6.5 and Znuny 7.0.
Environment
Expected behaviour
No unnecessary groups created on upgrade. Same upstream groups should exist after upgrade to 6.5 and fresh 6.5 install.
Actual behaviour
When upgrading from 6.0 to 6.5 one need to upgrade to 6.1 first. 6.1 upgrade script creates
timeaccounting_webservice
group. Group looks like not required for systems that do not use timeaccounting webservice so only_MigrateGroupNames
should be called there without_CreateMissingGroups
probably.After upgrading 6.0->6.1->6.2->6.3->6.4->6.5 group
timeaccounting_webservice
is present (with empty description). After fresh 6.5 install no such group is present in system.How to reproduce
Steps to reproduce the behavior:
Upgrade from 6.0 to 6.1. Install fresh 6.5.