adding ability to check for record restrictions
fixing typo
Merge pull request #5 from jtgraves/master

adding ability to check for record restrictions