Sorry. Too permissive. I meant this: if not user or not (user.id==me or \ myfriends(Link.target==user.id).count() or \ db((db.link.source==user.id) & \ (db.link.target==me)).count()): redirect(URL('home'))
Now you should be able to examine a users profile before you decide to accept the link. El sábado, 16 de junio de 2012 20:03:22 UTC-3, Alan Etkin escribió: > And change it by this more permissive statement: > if not user or not (user.id==me or \ > myfriends(Link.target==user.id).count() or \ > db(db.link.target==me).count()): > redirect(URL('home')) > > Issue >> >> *Attempts to view profile+wall of people offering friendship redirects >> you to your wall.* >> >