create custom user fields for a user
Set ACL for these fields to e.g. author ACL level
Add the user to the author group
Add values for this user to the created custom user fields
so far so good... now for the issue
The user should be removed from the author user group, but the values in the custom fields should be retained just like when removing the user via the back-end.
custom field values should be retained for the user when using public static function removeUserFromGroup($userId, $groupId)
Joomla 3.8.5
Priority | Urgent | ⇒ | Medium |
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-02-22 09:14:39 |
Closed_By | ⇒ | franz-wohlkoenig |
Closed_By | franz-wohlkoenig | ⇒ | joomla-cms-bot |
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/19735
when adding a user via public static function addUserToGroup($userId, $groupId) the also the custom field values for this user are erased.
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/19735.