Merge "Fix Exception message in UserController#handleIncomingUser" into rvc-dev am: c62350d8dc am: b177adde9b
Change-Id: Ia15f7444c7c61d5cc840f801e846c0d0ec16f23a
This commit is contained in:
@@ -1877,8 +1877,10 @@ class UserController implements Handler.Callback {
|
|||||||
builder.append("; this requires ");
|
builder.append("; this requires ");
|
||||||
builder.append(INTERACT_ACROSS_USERS_FULL);
|
builder.append(INTERACT_ACROSS_USERS_FULL);
|
||||||
if (allowMode != ALLOW_FULL_ONLY) {
|
if (allowMode != ALLOW_FULL_ONLY) {
|
||||||
builder.append(" or ");
|
if (allowMode == ALLOW_NON_FULL || isSameProfileGroup) {
|
||||||
builder.append(INTERACT_ACROSS_USERS);
|
builder.append(" or ");
|
||||||
|
builder.append(INTERACT_ACROSS_USERS);
|
||||||
|
}
|
||||||
if (isSameProfileGroup
|
if (isSameProfileGroup
|
||||||
&& allowMode == ALLOW_ALL_PROFILE_PERMISSIONS_IN_PROFILE) {
|
&& allowMode == ALLOW_ALL_PROFILE_PERMISSIONS_IN_PROFILE) {
|
||||||
builder.append(" or ");
|
builder.append(" or ");
|
||||||
|
|||||||
Reference in New Issue
Block a user