[Bug 546516] New: check_permissions is not RESTful