Paul D. figured it out. We have the following methods on the User:
def is_admin_authorized_for_create?
is_admin?
end
def is_admin_authorized_for_update?
is_admin_authorized_for_create?
end
(and similar methods for the second flag that pointed back at
is_admin?)
The issue is that these were intended to be used for something else
and were just inappropriately named or instead of "is_admin?" there
used to be something that was looking somehow at the currently logged-
in user.
See:
http://activescaffold.com/docs/security
Thanks,
Gary
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---