Project

General

Profile

Patch #6498 ยป user.rb.patch

Jan from Planio www.plan.io, 2010-09-26 20:13

View differences:

app/models/user.rb
# Is the user allowed to do the specified action on any project?
# See allowed_to? for the actions and valid options.
def allowed_to_globally?(action, options)
def allowed_to_globally?(action, options={})
allowed_to?(action, nil, options.reverse_merge(:global => true))
end
    (1-1/1)