This repository has been archived on 2023-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
2019-01-31 22:38:06 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2019-06-23 15:54:41 +00:00
|
|
|
class FederalSubjectPolicy < ApplicationPolicy
|
2019-01-31 22:38:06 +00:00
|
|
|
def index?
|
|
|
|
true
|
|
|
|
end
|
|
|
|
|
|
|
|
def show?
|
|
|
|
true
|
|
|
|
end
|
|
|
|
|
|
|
|
class Scope < Scope
|
|
|
|
def resolve
|
|
|
|
scope.all
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|