On Lunes, 15 de Marzo de 2010 00:21:37 Ray Parker escribió: > Here's the scenario: > > I have a Contact which has a belongs_to (Activity) as well as habtm > (ContactCategory). > The client wants a read-only login for the database (corner office > folks). > > When I strap things down with <verb>_authorized? everything seems to > work as you would expect for all columns and related tables, except > for the HABTM nested list. On that list are still links for 'Add From > Existing" and "Remove", and both are active (meaning that they respond > as advertised.).
Add existing use add_existing_authorized? in the controller. This method is true by default. You will have to override add_existing_authorized?. Remove use delete_existing_authorized?, you will have to override too -- Sergio Cambra .:: entreCables S.L. ::. Mariana Pineda 23, 50.018 Zaragoza T) 902 021 404 F) 976 52 98 07 E) [email protected] -- 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.
