Events: add edit/update actions
Some checks are pending
CI / scan_ruby (push) Waiting to run
CI / scan_js (push) Waiting to run
CI / lint (push) Waiting to run
CI / test (push) Waiting to run

This commit is contained in:
sto
2026-07-28 13:45:27 +02:00
parent 17d99a92c0
commit b8a2e4b0b4
6 changed files with 49 additions and 11 deletions

View File

@@ -22,4 +22,12 @@ class EventPolicy < ApplicationPolicy
def show?
owner_or_admin
end
def edit?
owner_or_admin
end
def update?
owner_or_admin
end
end