Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I would like to give the admin the ability to create a new user without filing in a required profile.
I require the profile because anonymous users need to fill it out, but I have other account types for my coworkers who should not. The registration is correlated to an ID for US public library systems, which becomes restricted once it's registered. I have been having my coworkers just pick an ID to register, but obviously this will break once we launch the site.
I can help write this feature if someone points me in the right direction.
Comments
Comment #1
fago>I would like to give the admin the ability to create a new user without filing in a required profile.
That's inconsistent, thus won't be supported in profile2.
Update: Oh sry, I see only admins should be able to skip the profile at whole. That makes sense, though the scope of profile2 is to keep it lean and slim. So any such add-ons should go in separate extension modules.
Comment #2
WoozyDuck CreditAttribution: WoozyDuck commentedIs there any way to do this?
Comment #3
feuillet CreditAttribution: feuillet commentedExactly the same Problem here. Need to create user accounts to invite them by e-mail. Without even knowing all their profile data information...
Comment #4
feuillet CreditAttribution: feuillet commentedJust found a nice solution for this problem:
https://drupal.org/project/required_by_role
With this Module its possible to make a field required for a specific role. So for Administrators its not required but for Members it is.
Problem solved. Issue can be closed imo.
Regards, Sandro