Thank you for your time and effort. This feature is a very nice addition.
I have been wondering about enhancing this app myself for a while now, but my own PHP skills is 10+ years back in time, and I will never claim I was even then, a good developer. The quality of the code I eventually can produce, will not do Nextcloud and the apps any justice unfortunately.
My Idea for an enhancement is to enable adding mandatory “fields”/attributes required in the registration form the admin settings.
I use an LDAP backend so also strict control of choosen username and mandatory attribute is needed for me, and I would like to make registration based on request and the possibility to add an optional registration code. The registration codes can be created in the admin panel aswell, and at creation of 1-n registration codes, you also chooses a group. So if a registration code is entered in the optional registration field, that code will ensure the user created after successfull registration flow, is added to that group.
This allows for guest registrations aswell as “normal” users, but also special invitation based. Imagine a solution where you can create - or prepare - an entire team of volunteers, classes, sports teams, where different roles are needed, but you do not know which individual will be choosen to be which “role”, hence a team lead or someone else, can hand out the corresponding codes to the right people, along with the registration url. Enables segregation and pre-build shares for individual groups of people removing a lot of administration overhead in dynamic organizations like a sports club, volunteers dependant NGO at events, or festivals with a fixed organizational structure, but where each position is filled by volunteers, who are vastly different event-by-event.
However I have solved this by implementing the PWM from the Ldap toolbox suite and tailoring that one as a registration, servicedesk and password management module for now. It works surprisingly well, but I do not like the dependency of external tools. I hope one day that these features - or similar - is added to the registration app, or someone better than me builds one.
This is not a request for someone to build this as if I was demanding anything. My hope is that it can inspire and maybe someone who has the skills suited for it, and by this also finds a need for the above themselves, would add it. If not, cool. Thank you all for your contributions, and I am a very happy user/administrator/owner of a selfhosted NC and gratefull for everything so far.