This repository has been archived on 2024-06-09. You can view files and clone it, but cannot push or open issues/pull-requests.
2021-11-25 13:07:38 +01:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class PreviewCardPolicy < ApplicationPolicy
|
|
|
|
def index?
|
|
|
|
staff?
|
|
|
|
end
|
|
|
|
|
2022-02-25 00:34:14 +01:00
|
|
|
def review?
|
2021-11-25 13:07:38 +01:00
|
|
|
staff?
|
|
|
|
end
|
|
|
|
end
|