master
UserPolicy
class UserPolicy < ApplicationPolicy class Scope < Scope def resolve if user.has_role?('admin','manager')