Closed (won't fix)
Project:
Flag
Version:
6.x-2.x-dev
Component:
Flag core
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 Mar 2010 at 03:10 UTC
Updated:
17 Aug 2012 at 15:37 UTC
I'm using the flag module as a way to sign-up for events, by creating a sign-up flag on all nodes that are type event. (Didn't like the sign-up module) I've made it really far, and it's turning out nicely. However, I'd like to be able to give certain roles permissions to change the flag status of any user, so that certain roles can sign-up other users.
Comments
Comment #1
quicksketchThis is not likely to happen. Changing another user's flags involves a number of complex UI issues. It can't just be a link any more, since how would you know which user's flags you're changing? This might be possible through some kind of relationship/argument handling in Views, but would still require changes to our menu handlers and the link structure, since right now the UID is implied by the current user. In the mean time, you might try http://drupal.org/project/masquerade to switch to another user.
Comment #2
quicksketchMarked #1055970: Flag a node for a user by administrator as duplicate. Giving this issue a better title for searching. I've answered this in a couple of different issues and the problem is still just as difficult as ever. The Flag API is 100% capable of doing this (indeed modules like Flag Friend have been using it for some time), but the UI issues are what prevent this from being available easily. The best solution for this would be an add-on module.
Comment #3
MBroberg commentedI managed to do this using Flag, Rules, and a Button Field. In my use case I want to subscribe a parent to class emails when I click a button. Eventually I want this to be automated when their student is added to a class.
The initial registration process involves the parent creating an account and then making student nodes (author is parent account).
Then each child is enrolled in a class by the admin creating a new node that references both the student node and the location node.
A roster is created with a View, and I want to use the roster to flag the class on behalf of the parents. That way I can send class emails to each subscribed parent.
For the first part (click a button) I have done the following steps:
Eventually the automatic part will happen with a Rule event "When a node is created" so that the parent is subscribed automatically.
Comment #4
MBroberg commentedI believe this can be simplified by creating a new node type "subscriptions."
Add a user reference and a node reference, plus 2 button fields: "Subscribe" and "Unsubscribe."
Then make a rule that loads both the user account and the node, and flag or unflag on behalf of the user.
Comment #5
joachim commented> The best solution for this would be an add-on module.
Closing as wontfix -- best place to fix this is a contrib module, as stated above.