Separate ability to reference blocked users from 'administer users' permission.

Created on 27 June 2016, over 8 years ago
Updated 1 February 2024, about 1 year ago

Problem/Motivation

Only users with administer users permission can reference blocked users in components that make use of entity reference selection plugins (with "default" group), such as entity reference field.

Proposed resolution

?

Remaining tasks

-

User interface changes

-

API changes

-

Data model changes

-

Original report by erlendoos

As a user without "administer users" permission I am only able to reference enabled users.

I have a use case where I reference users to content, but most of this users make sense for the content while it is unwanted for them to be able to login. I use the user entity to store properties and maybe in the future this entity might get a password.

How about to make this an option similar to "include the anonymous users" and remove the "administer users" requirement. New option name suggestion "Include disabled users".

Feature request
Status

Closed: duplicate

Version

11.0 🔥

Component
User system 

Last updated 1 day ago

Created by

🇳🇱Netherlands erlendoos Terschelling

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024