Cancel friend request not possible due to wrong access controll
If i request a friendship with someone and cancel this request, i will be forwarded to the relations page which is not the best if i am on his profile and then get an error:
You do not have permission (0) to access resource: profile.relation.cancel, ActionName: cancel, RequestingUser: 62, RequestedUser:21, AccesType: other
I am not sure if cancel is the correct action here since cancel basically is used for an existing relationship to be canceled but in this case the relation does NOT exist yet. Maybe a new action cancelFriendRequest or so?
#1 Updated by Tymoteusz Motylewski almost 8 years ago
If relation is unconfirmed by one side, you can reject it or accept. But if you are already a friend, you are canceling this relation. Probably the wrong action is called (should be reject instead of cancel).
Can you please tell me which plugin is generating this wrong link?