Project

General

Profile

« Previous | Next » 

Revision 5100

Added by daigle about 15 years ago

Use OR to add permissions, not AND

View differences:

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