class UserNamespaceAuthorizationRestController extends HerdBaseController {

    @RequestMapping(value = USER_NAMESPACE_AUTHORIZATIONS_URI_PREFIX + "/userIds/{userId}", method = RequestMethod.GET)
    @Secured(SecurityFunctions.FN_USER_NAMESPACE_AUTHORIZATIONS_BY_USERID_GET)
    public UserNamespaceAuthorizations getUserNamespaceAuthorizationsByUserId(@PathVariable("userId") String userId)
    {
        return userNamespaceAuthorizationService.getUserNamespaceAuthorizationsByUserId(userId);
    }

}