mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-23 05:04:56 +09:00
B #4992: Fix user IDs on group updates
(cherry picked from commit 10c9e17b66)
This commit is contained in:
1 file changed
+1
-3
+1
-3
@@ -900,11 +900,9 @@ bool UserPool::authenticate_internal(User * user,
|
||||
continue;
|
||||
}
|
||||
|
||||
group->add_user(*it);
|
||||
|
||||
if ( new_group_admin_ids.find(*it) != new_group_admin_ids.end() )
|
||||
{
|
||||
group->add_admin(*it, error_str);
|
||||
group->add_admin(user_id, error_str);
|
||||
}
|
||||
|
||||
group->add_user(user_id);
|
||||
|
||||
Reference in new issue
Block a user