hi everyone,

i would like to customize an edit action: i would like to disallow the
modification of a field from user that has not a credential:

i can disallow the edition of a field for all users:
config:
  form:
    display:
      NONE:     [article_id]
      Editable: [author, content, created_at]


or disallow an action if the user doesn't have a credential:
    config:
      actions:
        edit:   { credentials: [arti] }
        delete: { credentials: [arti] }

but how to mix these 2 constraints ? (disallow a field modification
for a user that doesn't have a credential)

thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.

Reply via email to