clarify field verification on creation in permissions docs
Reported by Tiago Franco | January 9th, 2009 @ 12:33 AM
improvement suggestion
from cookbook permission chapter(?)
def create_permitted? return false unless owner_is? acting_user
state == "new" end
If "new" is not the default value of the state column, create_permitted? will always return false whenever rapid checks for the create button.
This is not mentioned in the manual.
TF
Comments and changes to this ticket
-
Tom Locke March 12th, 2009 @ 11:18 AM
- State changed from new to wontfix
The example doesn't say that state is a field, just that state must be 'new'.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป