# frozen_string_literal: true

module Staff
  class MemberPolicy < ApplicationPolicy
    def index?
      allowed?
    end

    def show?
      allowed?
    end

    def allowed?
      user.permitted? BeefCake::Permission.for(:staff_management)
    end
  end
end
