Is there any way of creating a flag / unflag link that affects flags belonging to a particular user? I would like to create an admin overview of users' flags which gives admins the option to change a user's content flags.
Is there any way of creating a flag / unflag link that affects flags belonging to a particular user? I would like to create an admin overview of users' flags which gives admins the option to change a user's content flags.
Comments
Comment #1
quicksketchI'm sure that I had a similar request at one point but I can't find it. The short of it is, no this is not possible (through the UI) and it will not be added. It is entirely possible through the APIs to flag/unflag any user's content, but our own menu callback and AJAX links do not support the flagging of other users content. Adding such a feature would require a significant amount of UI configuration, such as permissions for which roles have permissions to flag/unflag which other role's content. Not to mention there's a lot challenges differentiating between flagging as a different user versus flagging as yourself.
The only quick work-around I know of is to use Devel's "Switch user" block and just log in as that user, then modify the flags as if you were that user.
Comment #2
quicksketchNote that a better long-term solution is http://drupal.org/project/masquerade, which is intended to provide the same functionality with more control and without all the dangerous capabilities of devel module. Closing after lack of activity.
Comment #3
Alcaparra commentedI try this with "Views Custom Field":
http://drupal.org/node/890036