Implementing config-based permissions checks.