You can add self to friends simply by visiting link :

flag/confirm/flag/friend/your_profile_id?destination=user%2Fyour_profile_id

Comments

sirkitree’s picture

why is this a critical bug?

vertazzar’s picture

cause its critical for me, and I think that there's no much difference between posting normal, and critical, its going to be read anyway, maybe I'm wrong or whatever

sirkitree’s picture

Priority: Critical » Normal

Critical status of a ticket is reserved for some sort of bug that is breaking the functionality of the module or a site, making it entirely unusable.

Why is it a problem if you can friend yourself and how is this a bug?

vertazzar’s picture

I don't want to argue, but I think its pretty stupid having the ability to add self to friends, if thats ok than all social networking sites (like facebook.com or orkut.com) would have that feature.

sirkitree’s picture

Title: Add self to friends » Remove the ability to add yourself as a friend
Category: bug » feature

Arguing is not my goal, finding out if you're seeing the module break because this functionality is possible, is. Since you've given me no reasons that this is actually breaking something, it is more clearly defined as a feature request. Just because no one else has this ability does not mean it is a bug. What you're asking for is more of a feature request to remove the ability to friend yourself. If you have a constructive way of going about this (like submitting a patch that adds the option to turn this off in some way) I'd consider it.

sirkitree’s picture

Flag module's 2.x branch as implemented a $flag->access control which I think could be utilized to implement this feature.

sirkitree’s picture

Status: Active » Closed (fixed)

Closing due to inactivity. Please reopen if you have some code to contribute.