Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Flag for Someone Else

Security covered Under active development 2 sites

Part of the Flag ecosystem · 12 projects

This module extends the Flag module to allow authorized users to flag content on behalf of others. It provides options to select existing users or create new ones, with configurable display and permissions.

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 for someone else" link displayed next to the regular flag link
    (any link type can be used as fallback for other users).
  • Flag for one or several users at once: up to 49 available users are
    listed as checkboxes, beyond that an autocomplete field accepts several
    users.
  • Administrators can create a new user account from the form.
  • Bulk action "Flag an entity for the selected users", e.g. with Views
    Bulk Operations on a list of users.
  • Restrict the selectable users with source plugins. The included
    Flag FSE Organic Groups submodule only lists the members of the group.
  • One permission per flag: "Flag for someone else: [flag]".
  • Form in a new page, dialog or modal.

Privacy and access

  • Only active users can be selected.
  • Email addresses are only shown and searchable with the "View user email
    addresses" or "Administer users" permission.
  • The form checks that the current user can view the entity and that the
    flag applies to it.

Requirements

  • Drupal 10.3+ or Drupal 11+
  • Flag 5 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.

Upgrading to 1.1: run "drush updb". Custom user source plugins must return
NULL for "all users" (an empty array now means "no user").

Drupal 10–11

Ask your assistant about Flag for Someone Else

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
6
Tracked since
Nov 2025
Latest release
1 week ago
Releases (12 mo)
3
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
1.1.1 Stable 10–11 Nov 22, 2026
1.1.0 Stable 10–11 Oct 21, 2026
1.0.2 Stable 10–11 Sep 19, 2026
1.0.1 Stable 10–11 Nov 20, 2025
1.0.0 Stable 10–11 Nov 20, 2025
1.0.x-dev Dev 10–11 Nov 20, 2025