vtlib add picklist to user. Unable to edit
Using vtlib we are able to add fields to the User module (and I frequently do).
I just realised however, that if I add a Picklist to the users module, the Picklist Editor doesn't provide visibility of the picklist so an Admin user is unable to edit the values in it.
This appears to be restricted in modules/Settings/Picklist/models/Module.php on line 285:
WHERE uitype IN (15,33,16) and vtiger_field.tabid NOT IN (29,10) and vtiger_tab.presence != 1 and vtiger_field.presence in (0,2)
Is this restriction here for a "good" reason?
PS: Scarily this query assumes that Users (and Emails) will always be tabid 29 (10). Is that guaranteed to always be the case?