hi chaps

I know this is discussed in the agile tutorial, and both books but I'm
still completely flummoxed...

i've given my Users a role ie

class User < ActiveRecord::Base

  hobo_user_model

  fields do
    name   :string, :required, :unique
    role enum_string(:sales, :resourcing, :manager, :commercial)
  ....

so now in my Leads model which has a lifecycle, I want to allow a
transition only if acting_user.role == "manager"

my trials and errors have been unrewarded... can you help?

br
paul



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