Skip to content

Commit

Permalink
minimal fix for bug
Browse files Browse the repository at this point in the history
  • Loading branch information
nchiapol committed Dec 9, 2023
1 parent 4a84b44 commit 9adbece
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions app/abilities/cevi/event/participation_ability.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ module Cevi::Event::ParticipationAbility
may(:show).
in_same_layer_or_below_if_ausbildungsmitglied

permission(:any).
may(:create).
if_manage_attendances_in_event_or_her_own_if_application_possible
for_self_or_manageds do
permission(:any).
may(:create).
if_manage_attendances_in_event_or_her_own_if_application_possible
end

permission(:any).may(:approve).if_manage_attendances_in_event
permission(:any).may(:reject).if_manage_attendances_in_event
Expand Down

0 comments on commit 9adbece

Please sign in to comment.