Improve customer invitations and add customer manager profiles #120

Closed
opened 2026-11-22 21:01:25 +01:00 by parkel · 0 comments
Owner

Make it straightforward to invite a customer or customer manager and to give a customer manager a usable set of hosting plans and permissions. Today, the operator sets a password up front. Only the customer manager's customer creation form offers an email address, and it is optional. The customer manager form starts with an account limit of zero and can show an empty hosting plan picker with no next step.

Part of #64.

Invitations and first sign-in

  • Require a valid contact email address for new customer managers and customers, including customers created by a customer manager. Provide a way to add or correct the address on an existing account. Existing users with a blank address can continue to sign in and must supply an address before an invitation can be sent.
  • Send a welcome message automatically when a new panel login is created with access enabled. Include the username, the configured HTTPS panel address, and an expiring, single-use link for setting a password. Consume the invitation when the password is saved so that opening the email link alone leaves it usable. Enroll customer managers in 2FA through the normal first sign-in flow. Keep passwords, 2FA secrets, and recovery codes out of the message.
  • Offer Generate password and an explicit copy action on the password setup form. Generate the value with a cryptographically secure source, support password managers and manual input, and apply the regular password validation.
  • Include a short getting-started section tailored to the role. For an assigned hosting account, show its known domain and plan, relevant quota limits, and the next steps for DNS, websites, or email where configured. Link to the panel for service-specific settings and external DNS instructions. Use configured endpoints and nameservers when available. Invitees without a hosting account receive panel and account setup information.
  • Show when SMTP needs configuration and give authorized staff a clear delivery status and a way to resend or replace a pending invitation after a failure or expiry. Replacing an invitation invalidates the older one. Keep delivery retries tied to the existing account and enforce the same access and customer scope as account creation.

Customer manager profiles and hosting plans

  • Let operators create named customer manager profiles that specify the hosting account limit, allowed hosting plans, and delegated permissions. Offer a profile picker at the start of the form and show the applied settings for review. Support custom settings and let operators choose a default profile for new accounts.
  • Label zero capacity as Manage existing accounts only and make it an explicit option. When allowing new accounts, ask for a positive limit and at least one eligible hosting plan. Profiles supply the initial configuration for new customer managers. Apply updates to existing assignments through an explicit action with a review of the resulting permissions and limits.
  • Put hosting plan selection alongside the limit. When no eligible plan exists, explain the state and offer Create hosting plan to operators with permission. Return to setup with the new plan available and preserve the form's non-secret values. Verify plan selection and delegation through both the profile and custom flows.
Make it straightforward to invite a customer or customer manager and to give a customer manager a usable set of hosting plans and permissions. Today, the operator sets a password up front. Only the customer manager's customer creation form offers an email address, and it is optional. The customer manager form starts with an account limit of zero and can show an empty hosting plan picker with no next step. Part of #64. ## Invitations and first sign-in - [ ] Require a valid contact email address for new customer managers and customers, including customers created by a customer manager. Provide a way to add or correct the address on an existing account. Existing users with a blank address can continue to sign in and must supply an address before an invitation can be sent. - [ ] Send a welcome message automatically when a new panel login is created with access enabled. Include the username, the configured HTTPS panel address, and an expiring, single-use link for setting a password. Consume the invitation when the password is saved so that opening the email link alone leaves it usable. Enroll customer managers in 2FA through the normal first sign-in flow. Keep passwords, 2FA secrets, and recovery codes out of the message. - [ ] Offer **Generate password** and an explicit copy action on the password setup form. Generate the value with a cryptographically secure source, support password managers and manual input, and apply the regular password validation. - [ ] Include a short getting-started section tailored to the role. For an assigned hosting account, show its known domain and plan, relevant quota limits, and the next steps for DNS, websites, or email where configured. Link to the panel for service-specific settings and external DNS instructions. Use configured endpoints and nameservers when available. Invitees without a hosting account receive panel and account setup information. - [ ] Show when SMTP needs configuration and give authorized staff a clear delivery status and a way to resend or replace a pending invitation after a failure or expiry. Replacing an invitation invalidates the older one. Keep delivery retries tied to the existing account and enforce the same access and customer scope as account creation. ## Customer manager profiles and hosting plans - [ ] Let operators create named customer manager profiles that specify the hosting account limit, allowed hosting plans, and delegated permissions. Offer a profile picker at the start of the form and show the applied settings for review. Support custom settings and let operators choose a default profile for new accounts. - [ ] Label zero capacity as **Manage existing accounts only** and make it an explicit option. When allowing new accounts, ask for a positive limit and at least one eligible hosting plan. Profiles supply the initial configuration for new customer managers. Apply updates to existing assignments through an explicit action with a review of the resulting permissions and limits. - [ ] Put hosting plan selection alongside the limit. When no eligible plan exists, explain the state and offer **Create hosting plan** to operators with permission. Return to setup with the new plan available and preserve the form's non-secret values. Verify plan selection and delegation through both the profile and custom flows.
parkel added this to the v0.10.0 - Panel design and usability milestone 2026-11-22 21:01:25 +01:00
parkel added the
kind
feature
area/panel
labels 2026-11-22 21:01:25 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: hippogrief/coulobre#120