fix bug in ability.rb where user can't update self and create pdf in landscape mode