I've made some progress - I created transition "deactivate_user", and
pasted  from form forms.dryml into desired location.

In the meantime I found that my user model is defined as:
  fields do
    name          :string, :required, :unique
    nickname      :string, :unique
    role
enum_string(:international, :sales, :resourcing, :playmaker, :commercial)
    email_address :email_address, :login => true
    administrator :boolean, :default => false
    timestamps
  end

Propably, because of that. I wasn't able to set ":available_to =>
User.administators".
Do you have any clue how to grant this transition only to admins with
such declared user model?

-- 
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.

Reply via email to