You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Role changes after selecting domain in create account form #13191
Hi, #12200 added a QoL change to pre-assign the domain according to URL path and it then changes the default role to match said domain.
However, I feel it worsens the default experience when you fill the form from top to bottom: when creating a user, it changes the role to the default one even after specifically selecting before.
Filling out form:
And after changing the domain:
I ended up creating test accounts with different roles then I had intended and I fear this would cause misunderstandings in main. What do you think, @Pearl1594, @DaanHoogland , @weizhouapache ?
Fair Point @gp-santos - maybe if the role is Higher (say, Admin) than what the domain (ROOT/a) can accept, then we can make the change as before, else leave the user filled Role.
Activity
kiranchavala commentedon May 20, 2026
Thanks @gp-santos I too faced this issue many times, We shouldn't reload the account creation form when domain is changed
I beleive its a valid improvement request
Pearl1594 commentedon May 21, 2026
Fair Point @gp-santos - maybe if the role is Higher (say, Admin) than what the domain (ROOT/a) can accept, then we can make the change as before, else leave the user filled Role.
gp-santos commentedon May 21, 2026
Seems good to me, @Pearl1594
However, I feel this should be on 4.23, would it be alright, @DaanHoogland, @winterhazel, @weizhouapache ?
Also, would you rather do it or may I assign this to myself, @Pearl1594 ?
winterhazel commentedon May 21, 2026
@gp-santos I agree that it is better to address this in 4.23 already, so I'm changing the milestone.
Pearl1594 commentedon May 21, 2026
I agree - it would be better to go into 4.23 - and if you want to work on the fix you can go ahead @gp-santos , no problem. I can help review.