Added utility to validate user permissions (in a non-agnostic way for
now...)