Permalink
Browse files

Skip permission checking on individual groups, not supported in HQU.

  • Loading branch information...
1 parent 1a9ca74 commit 487e22203e9ae7b5bb919fa8db71199dcf2b07c0 Ryan Morgan committed Jul 9, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 hqu/hqapi1/app/ApiController.groovy
@@ -63,8 +63,8 @@ class ApiController extends BaseController {
} else if (resource.isService()) {
return resource.toService().checkPerms(operation: 'view', user:user)
} else {
- log.error("Unhandled resource type " + resource.prototype)
- return null
+ log.warn("Unhandled resource type " + resource.prototype)
+ return resource // Group permission checking..
}
}

0 comments on commit 487e222

Please sign in to comment.