Project

General

Profile

« Previous | Next » 

Revision 6515

MN.setAccess() is a PUT

View differences:

src/edu/ucsb/nceas/metacat/restservice/MNResourceHandler.java
169 169
                    node();
170 170
                    status = true;
171 171
                } else if (resource.startsWith(RESOURCE_ACCESS_RULES)) {
172
                    if (httpVerb == POST) {
172
                    if (httpVerb == PUT) {
173 173
                    	// after the command
174 174
                        extra = parseTrailing(resource, RESOURCE_ACCESS_RULES);
175 175
	                	// set the access rules

Also available in: Unified diff