Add support to determine API key permissions
Merge pull request #51 from jamescook/api_rights

Add support to determine API key permissions