Simple wrapper to check auth before publishing a record set.

Not sure if this is the best implementation, but it's something I found myself doing locally after implementing the accounts packages.