Added CMS_WEBAPI_HANDLER.new_permissions_access_denied_error_response (..) to provide the required permissions.

This commit is contained in:
Jocelyn Fiat
2017-10-17 13:45:32 +02:00
parent be258c73e9
commit 60fbba5a70
2 changed files with 25 additions and 1 deletions

View File

@@ -105,7 +105,7 @@ feature -- Execution
rep := new_access_denied_error_response ("There were issue with your application, invalid or missing values.", req, res)
end
else
rep := new_access_denied_error_response ("You can also contact the webmaster to ask for an account.", req, res)
rep := new_permissions_access_denied_error_response (<<"account register">>, "You can also contact the webmaster to ask for an account.", req, res)
end
rep.execute
end