Issue 13812: Public groups with manual request approval

This commit is contained in:
Michael 2024-04-07 16:32:50 +00:00
parent 02d8cc2f71
commit 69fc2c04e4
18 changed files with 179 additions and 157 deletions

View file

@ -71,6 +71,7 @@ class UpdateCredentials extends BaseApi
}
if ($user['account-type'] == Contact::TYPE_COMMUNITY) {
// @todo Support for PAGE_FLAGS_COMM_MAN
$user['page-flags'] = $request['locked'] ? User::PAGE_FLAGS_PRVGROUP : User::PAGE_FLAGS_COMMUNITY;
} elseif ($user['account-type'] == Contact::TYPE_PERSON) {
if ($request['locked']) {