PL-154: added a simple resource to check a user's permission.