2019-07-30 11:43:51 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
# Check the access policies for API::AccountingExportsController
|
2019-07-31 12:00:52 +02:00
|
|
|
class AccountingExportPolicy < ApplicationPolicy
|
2019-07-30 11:43:51 +02:00
|
|
|
def export?
|
|
|
|
user.admin?
|
|
|
|
end
|
|
|
|
end
|