Hobo considers all fields of an updateable model to be updateable as well until I restrict that using only_changed_fields? (new, :allowedfield1, :allowedfield2 …), field_editable_by? or by other related methods.
Just for he sake of clean conventions I expect that every field that is viewabale in a show form is still presented readonly if it is not editable/updateable. Last but not least I should be able to restrict the viewability by methods like field_viewable_by?. On Oct 23, 2:02 pm, Gert Thiel <[EMAIL PROTECTED]> wrote: > Hello fellow Hobo addicts ;-) > > I added a bunch of methods related to Hobo permissions and were able > to restrict the users who may edit a model. > > Beyond that I need an edit form that restricts the field which an user > is allowd to edit (done!) but still shows some of the others field > (readonly). > > Sadly Hobo removes any field which the user can not edit/update from > the edit form. But I need some of these field still presented readable > only in such forms. E.g. a description field. > > Can you help me? > > Regards, > > Gert Thiel --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
