Registering user without filling profile fields

Created on 19 December 2017, over 6 years ago
Updated 31 January 2023, over 1 year ago

I have users that need to register via profile form. I'll called the profile "Club User". There are required fields included in the Club User Profile. I checked the "Include in user registration form" checkbox in the profile settings to make this form appear when new anonymous users register. This works fine.

But as Administrator I want to add a user that should not have the Club User profile (e.g. Website Manager).
Below the user details there is now an expandable "Club User" region.
I cannot find a way to add such a user users without having to fill out the Club User profile required fields.

The documentation says the following:

"Profile allows for creating multiple profile types, which may be assigned to roles via permissions (e.g. a general profile + a customer profile)"

I am not seeing how this association is made in permissions. It does allow assigning: create, delete, update, view permissions, but this does not assign a role to a profile.

What am I missing?

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
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.

  • πŸ‡§πŸ‡ͺBelgium vodde83

    I think I get what @Kris77 is referring to, I'm seeing this issue as well. That is, unless I misconfigured and/or overlooked something :)

    There are basically 3 relevant roles in the website : A, B and X.
    The roles A and B are for front-end users, and have their own profile type with specific fields.
    The role X is pure back-end, and does not have a profile type.
    Through use of https://www.drupal.org/project/multiple_registration β†’ , the roles A and B each have their own registration page. Role X does not, as they're not supposed to go through the front-end to get an account.

    But if I - as a superadmin - want to create an additional back-end user with role X, I can't do so without filling in both the profile fields for A and B. All profile forms show up on '/admin/people/create', and some of them contain required fields.
    So I can't just leave them blank.

    I think that either the respective profile form(s) should only appear when selecting a role that has a profile type connected to it, or the profile forms should not appear on '/admin/people/create' at all.
    However, I can see situations where some back-end roles do have a profile type with additional fields that are required.

Production build 0.69.0 2024