Download & Extend

"Flag friend links" panel does not honour role permissions set for Friend flag.

Project:Flag Friend
Version:6.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (won't fix)

Issue Summary

The "miscellaneous" panel element "Flag friend links" does not honour the role permissions set for the associated friend flag at Site building >> Flags.

The "Add friend" appears when anonymous users visit the page, even though the Friend flag permissions at .../admin/build/flags/manage/friend have been set not to allow anonymous users to use "Add friend" (in fact the Session API module is not installed, so cannot flag anonymous users anyway).

Comments

#1

Just adding:

When the anonymous user then clicks the "Add friend" link, they're invited to enter a message to send to the person they want to be a friend with.
It is not until they press "Send" on this form that they get the message "You are not allowed to flag, or unflag, this content."

#2

Status:active» closed (won't fix)

Please reopen if you have some code to provide.

nobody click here