| | |
| | | public boolean acceptNewPatchsets;
|
| | | public boolean acceptNewTickets;
|
| | | public boolean requireApproval; |
| | | public String mergeTo;
|
| | |
|
| | | public transient boolean isCollectingGarbage;
|
| | | public Date lastGC;
|
| | |
| | |
|
| | | public boolean isOwner(String username) {
|
| | | if (StringUtils.isEmpty(username) || ArrayUtils.isEmpty(owners)) {
|
| | | return false;
|
| | | return isUsersPersonalRepository(username);
|
| | | }
|
| | | return owners.contains(username.toLowerCase());
|
| | | return owners.contains(username.toLowerCase()) || isUsersPersonalRepository(username);
|
| | | }
|
| | |
|
| | | public boolean isPersonalRepository() {
|