molten-trunk/molten5_withgrid/app/models/sfcontact.rb
def share_cases?(account)
    if [AppConstants::PRIVILEGE[:super_user],AppConstants::PRIVILEGE[:admin],AppConstants::PRIVILEGE[:user_manager]].include?(portal_privilege) and account == company
      true
    else
      false
    end
  end
# Returns true if the user has access to the 'share cases' area for the 
# +account+.
Returns true if the user has access to the 'share cases' area for the
+account+.
Returns true if the user has access to the ' share cases ' area for the + account + .
def share_cases?(account)
    if [AppConstants::PRIVILEGE[:super_user],AppConstants::PRIVILEGE[:admin],AppConstants::PRIVILEGE[:user_manager]].include?(portal_privilege) and account == company
      true
    else
      false
    end
  end
def share_cases? ( account ) if [ AppConstants :: PRIVILEGE [ :super_user ] , AppConstants :: PRIVILEGE [ :admin ] , AppConstants :: PRIVILEGE [ :user_manager ] ] . include? ( portal_privilege ) and account == company true else false end end
Returns true if the user has access to the 'share cases' area for the
+account+.
Returns true if the user has access to the ' share cases ' area for the + account + .
account