Revision 6509
Added by ben leinfelder about 13 years ago
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
use "action" parameter instead of "permission"