Merge "Fix JavaDoc of AccountControl#canSee"
This commit is contained in:
commit
43ed310f7e
@ -231,7 +231,7 @@ public class ReviewersUtil {
|
|||||||
if (!map.containsKey(account)
|
if (!map.containsKey(account)
|
||||||
// Can the suggestion see the change?
|
// Can the suggestion see the change?
|
||||||
&& visibilityControl.isVisibleTo(account)
|
&& visibilityControl.isVisibleTo(account)
|
||||||
// Can the account see the current user?
|
// Can the current user see the account?
|
||||||
&& accountControl.canSee(account)) {
|
&& accountControl.canSee(account)) {
|
||||||
map.put(account, accountLoader.get(account));
|
map.put(account, accountLoader.get(account));
|
||||||
return true;
|
return true;
|
||||||
|
@ -79,7 +79,7 @@ public class AccountControl {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns true if the otherUser is allowed to see the current user, based
|
* Returns true if the current user is allowed to see the otherUser, based
|
||||||
* on the account visibility policy. Depending on the group membership
|
* on the account visibility policy. Depending on the group membership
|
||||||
* realms supported, this may not be able to determine SAME_GROUP or
|
* realms supported, this may not be able to determine SAME_GROUP or
|
||||||
* VISIBLE_GROUP correctly (defaulting to not being visible). This is because
|
* VISIBLE_GROUP correctly (defaulting to not being visible). This is because
|
||||||
@ -91,7 +91,7 @@ public class AccountControl {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns true if the otherUser is allowed to see the current user, based
|
* Returns true if the current user is allowed to see the otherUser, based
|
||||||
* on the account visibility policy. Depending on the group membership
|
* on the account visibility policy. Depending on the group membership
|
||||||
* realms supported, this may not be able to determine SAME_GROUP or
|
* realms supported, this may not be able to determine SAME_GROUP or
|
||||||
* VISIBLE_GROUP correctly (defaulting to not being visible). This is because
|
* VISIBLE_GROUP correctly (defaulting to not being visible). This is because
|
||||||
|
Loading…
Reference in New Issue
Block a user