mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Allow title edit for confirmed proposal if organizer or admin and do not allow event type change for confirmed/unconfirmed proposals if schedule_changes is not set, unless it is done by an admin or organizer
This commit is contained in:
parent
c91156ae0c
commit
d7ae2ba29b
2 changed files with 8 additions and 5 deletions
|
|
@ -48,4 +48,5 @@ class ApplicationController < ActionController::Base
|
|||
Rails.logger.debug("Access denied!")
|
||||
redirect_to root_path, :alert => exception.message
|
||||
end
|
||||
helper_method :organizer_or_admin?
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue