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
Invite-only registration-request form never appears: /config/user-system returns 403 for INACTIVE users #5587
In an invite-only deployment, a freshly-registered user is INACTIVE until an admin approves them. While INACTIVE, the user cannot reach the @RolesAllowed("REGULAR", "ADMIN") config endpoints.
The frontend reads the inviteOnly flag from GET /config/user-system right after registration to decide whether to show the registration-request form (which collects the user's affiliation/reason and triggers the admin notification email).
#5305 moved /config/user-system from @PermitAll to @RolesAllowed("REGULAR", "ADMIN"). As a result, an INACTIVE user's request for inviteOnly returns 403, the flag is left undefined on the frontend, and:
the registration-request form never appears, and
no admin notification email is sent.
So in invite-only deployments, new sign-ups are silently dropped.
Expected: A newly-registered (INACTIVE) user can read the inviteOnly flag, the registration-request form appears, and the admin is notified.
How to reproduce?
Deploy with user-system.conf set to invite-only (inviteOnly = true).
Register a new account (the user is INACTIVE, pending admin approval).
Observe that the registration-request form does not appear and no admin notification email is sent.
Network tab shows GET /config/user-system returning 403 for the INACTIVE user.
Activity
xuang7 commentedon Jun 9, 2026
Test @aicam
xuang7 commentedon Jun 9, 2026
Test @aicam
fix(config-service): expose inviteOnly on /config/pre-login so INACTI…
fix(config-service): expose inviteOnly on /config/pre-login so INACTI…
fix(config-service): expose inviteOnly on /config/pre-login so INACTI…
fix(config-service): expose inviteOnly on /config/pre-login so INACTI…