Drupal is a registered trademark of Dries Buytaert

flag_fse

2 sites Security covered
View on drupal.org

Flag for Someone Else (Flag FSE)

Flag for Someone Else extends the Flag module by allowing authorized users to flag content on behalf of other users.
Features

  • Flag content for other users - Users with appropriate permissions can create flaggings on behalf of any user
  • Flexible user selection - Search for existing users by username or email address
  • Create new users - Administrators can create new user accounts while flagging
  • Dual link display - Shows both the "Flag for someone else" link and standard flag link
  • AJAX support - Optionally open the flagging form in a dialog or modal window
  • Granular permissions - Automatically generates a permission for each flag

Requirements

  • Drupal 10.3+ or Drupal 11+
  • Flag module

Installation

Install using Composer (recommended):

composer require drupal/flag_fse
drush en flag_fse
drush cr

Or install manually:

  1. Download and extract to modules/contrib/flag_fse
  2. Enable via admin UI or drush en flag_fse

Configuration

1. Configure a Flag

  1. Go to Structure > Flags (admin/structure/flags)
  2. Create a new flag or edit an existing one
  3. Under Link type, select "For someone else"
  4. Configure the FSE options:
    • Fallback plugin: Link type for users without FSE permission (e.g., "AJAX link")
    • Flag fse link text: Text for the FSE link (default: "Flag for someone else")
    • Flag confirmation message: Message shown in the confirmation form
    • Create flagging button text: Submit button text
    • Form behavior: Choose "New page", "Dialog", or "Modal dialog"
  5. Save the flag

2. Set Permissions

  • Go to People > Permissions (admin/people/permissions)
  • Find permissions like flag fse [flag_id]
  • Grant to appropriate roles (e.g., moderators, administrators)
  • Save permissions

Usage

For Authorized Users

Users with the flag fse [flag_id] permission will see:

  1. A "Flag for someone else" link next to the standard flag link
  2. Clicking opens a confirmation form where they can:
    • Select existing user: Search by username or email using autocomplete
    • Create new user (admins only): Enter username, email, optional password
  3. System validates no duplicate flaggings exist
  4. Flagging is created for the selected/created user

For Regular Users

Users without FSE permission only see the standard flag link and can flag/unflag for themselves.

Use Cases

  • Content moderation: Flag problematic content on behalf of users who reported it offline
  • Event, tasks or volonteer management. eg: Admin can assign someone to a task,
  • Support tickets: Assign tickets to specific users
  • Collaborative bookmarking: Add content to specific users' bookmarks

Support

Issue queue: https://www.drupal.org/project/issues/flag_fse
Documentation: https://www.drupal.org/docs/contributed-modules/flag-for-someone-else
Source code: https://git.drupalcode.org/project/flag_fse

License

This project is licensed under GPL-2.0-or-later.

Activity

Total releases
3
First release
Nov 2025
Latest release
3 months ago
Release cadence
0 days
Stability
67% stable

Release Timeline

Releases

Version Type Release date
1.0.1 Stable Nov 20, 2025
1.0.0 Stable Nov 20, 2025
1.0.x-dev Dev Nov 20, 2025