LUN-1234: allow apps to use their own perms checks
Merge pull request #38 from pbs/LUN-1234

LUN-1234: allow apps to use their own perms checks