mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-13 23:48:55 +01:00
13 lines
228 B
Ruby
13 lines
228 B
Ruby
# frozen_string_literal: true
|
|
|
|
# Check the access policies for API::NotificationController
|
|
class NotificationPreferencePolicy < ApplicationPolicy
|
|
def update?
|
|
user.admin?
|
|
end
|
|
|
|
def bulk_update?
|
|
user.admin?
|
|
end
|
|
end
|