Table of Contents
http://www.symfony-project.org/forum/index.php?t=msg&th=8349
The books covers how to add a custom interaction, but how can I disable an existing interaction? e.g., how can I stop the create / delete interaction from showing?
http://www.symfony-project.org/forum/index.php?t=msg&&th=8214&goto=34352#msg_34353
> . . . I want the create button not shown to everybody, So I just tried: > > _create: { credentials: [no_exist] }
It works.
> But the create button is still there.
do not log in as admin.
Yes, if you are using sfGuard and logged in as admin though (because you then have all rights (or actually bypassing the credential system)), it will not work.
To remove/disable all actions for everyone you should declare an empty array:
list: actions: []
documented on: 28 August 2007, lvanderree