pull/2990/head
Alexander Bach 10 years ago
parent 3bf80ad5c0
commit 5340b496ec
  1. 2
      lib/api/v3/work_packages/update_contract.rb

@ -45,7 +45,7 @@ module API
errors.add :error_unauthorized, '' unless @can.allowed?(model, :edit)
end
# TODO: when someone every fixes the way errors are added in the contract:
# TODO: when someone ever fixes the way errors are added in the contract:
# find a solution to ensure that THIS validation supersedes others (i.e. show 404 if
# there is no access allowed)
def user_allowed_to_access

Loading…
Cancel
Save