Might be better to use mbklein's User#full_login?

if @user.full_login?
  can :share, MediaObject
end