Project

General

Profile

« Previous | Next » 

Revision 6509

use "action" parameter instead of "permission"

View differences:

src/edu/ucsb/nceas/metacat/restservice/MNResourceHandler.java
295 295
		pid.setValue(id);
296 296
		Permission permission = null;
297 297
		try {
298
			String perm = params.get("permission")[0];
298
			String perm = params.get("action")[0];
299 299
			permission = Permission.convert(perm);
300 300
		} catch (Exception e) {
301 301
			logMetacat.warn("No permission specified");

Also available in: Unified diff