diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-03-03 10:12:49 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2013-03-03 10:12:49 +1100 |
commit | faa70e9445a0a31fe0a49217ff2135b31ccce4ac (patch) | |
tree | e83c6cfd2bd7c75b1d88536a6f9c00f842fb5a3f /app/controllers/request_controller.rb | |
parent | 00c188d129696353c48a2598ec7c747b8a90d658 (diff) |
only can make the change as the owner of a request
Diffstat (limited to 'app/controllers/request_controller.rb')
-rw-r--r-- | app/controllers/request_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/request_controller.rb b/app/controllers/request_controller.rb index 74a310712..1698635e8 100644 --- a/app/controllers/request_controller.rb +++ b/app/controllers/request_controller.rb @@ -507,7 +507,7 @@ class RequestController < ApplicationController def describe_state_requires_admin @info_request = InfoRequest.find_by_url_title!(params[:url_title]) - if !authenticated?( + if !authenticated_as_user?(@info_request.user, :web => _("To classify the response to this FOI request"), :email => _("Then you can classify the FOI response you have got from ") + @info_request.public_body.name + ".", :email_subject => _("Classify an FOI response from ") + @info_request.public_body.name) |