|
From: | noreply |
Subject: | [myexperiment-hackers] [2060] branches/authorization_new/app/helpers/application_helper.rb: Auth. |
Date: | Fri, 16 Jan 2009 10:59:49 -0500 (EST) |
Auth. Bug-fix for one of the previous commits (switch to the new auth module call had to be followed by removing legacy code).
--- branches/authorization_new/app/helpers/application_helper.rb 2009-01-16 15:52:02 UTC (rev 2059)
+++ branches/authorization_new/app/helpers/application_helper.rb 2009-01-16 15:59:48 UTC (rev 2060)
@@ -1050,7 +1050,6 @@
end
def thing_authorized?(action, thing)
- return true unless thing.respond_to?(:authorized?)
return Authorization.is_authorized?(action, nil, thing, current_user)
end
[Prev in Thread] | Current Thread | [Next in Thread] |