Hi, in line with some of my other mistakes, I've stumbled into
something else I clearly haven't understood. I now have a model where,
in desperation, I have declared:
...
belongs_to :owner, :class_name => "User", :creator => true
...
def create_permitted?
true
end
def update_permitted?
true
end
...
Yet still I can't get the "Create" button to show for either an
ordinary user or administrator for a "/model-name/new". What other
access controls or permissions might affect the display of the Submit
button for a new action?
I'm building an example app to demonstrate the problem, without giving
away any business logic, partially as a way to explore what's
happening, and partially so I can offer it to you guys if it helps
troubleshoot!
But I'm secretly hoping that one of you will just click their fingers
and tell me of either something I've overlooked, or a technique to
debug the permissions on a form...
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" 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/hobousers?hl=en.