Module: Katello::Authorization::SyncPlan

Extended by:
ActiveSupport::Concern
Includes:
Authorizable
Included in:
SyncPlan
Defined in:
app/models/katello/authorization/sync_plan.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#deletable?Boolean



15
16
17
# File 'app/models/katello/authorization/sync_plan.rb', line 15

def deletable?
  authorized?(:destroy_sync_plans)
end

#editable?Boolean



11
12
13
# File 'app/models/katello/authorization/sync_plan.rb', line 11

def editable?
  authorized?(:edit_sync_plans)
end

#readable?Boolean



7
8
9
# File 'app/models/katello/authorization/sync_plan.rb', line 7

def readable?
  authorized?(:view_sync_plans)
end