mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
B #4992: Fix user IDs on group updates
This commit is contained in:
parent
35902214ad
commit
10c9e17b66
@ -897,11 +897,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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user