Basic rails app with devise, pundit, and a user method that can authorize a permission. Permissions are assigned to roles and roles are assigned to the devise user.