OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/modules/costs/app/models/cost_entry/cost_entry_scopes.rb

17 lines
295 B

class CostEntry
module CostEntryScopes
include ::CostScopes
def view_allowed_entries_permission
:view_cost_entries
end
def view_allowed_own_entries_permission
:view_own_cost_entries
end
def view_rates_permissions
:view_cost_rates
end
end
end