Revision 5100
Added by daigle about 15 years ago
src/edu/ucsb/nceas/metacat/accesscontrol/XMLAccessDAO.java | ||
---|---|---|
101 | 101 |
|
102 | 102 |
public void addPermission(Long permission) { |
103 | 103 |
if (_permission != null) { |
104 |
_permission &= permission;
|
|
104 |
_permission |= permission;
|
|
105 | 105 |
} else { |
106 | 106 |
_permission = permission; |
107 | 107 |
} |
Also available in: Unified diff
Use OR to add permissions, not AND