add gathermod to gatherpage permissions

This commit is contained in:
b 2018-11-15 20:59:36 +01:00
parent 61e1826959
commit d5aef89bb0

View file

@ -181,11 +181,11 @@ class Gather < ActiveRecord::Base
end
def can_create? cuser
cuser and cuser.admin?
return true if cuser.admin? or cuser.gather_moderator?
end
def can_update? cuser
cuser and cuser.admin?
return true if cuser.admin? or cuser.gather_moderator?
end
def self.last(name = "NS2")