Is there a recommended way of getting inplace_edit to check the
controller authorization methods? For example,
class MyController < ApplicationController
layout "admin"
...
config.columns[:exclude].inplace_edit = true
...
def update_authorized?
session[:access_permissions].can_update
end
AFACT it checks the @record authorizations (i.e. I can block it by
adding
def exclude_authorized_for_update?
...can't do much here, don't have the sesson :-(
end
but it never checks the controller method. Suggestions?
--
You received this message because you are subscribed to the Google Groups
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/activescaffold?hl=en.