platformplatform / PlatformPlatform

Alpha state. A platform designed for building enterprise-grade, multi-tenant products using Azure, .NET, React, TypeScript, Infrastructure as Code, etc.
https://platformplatform.github.io
MIT License
253 stars 26 forks source link

Add Invite User functionality and update user management page #591

Closed tjementum closed 1 month ago

tjementum commented 1 month ago

Summary & Motivation

Introduce the ability to invite users to a tenant by creating a new command and API endpoint. A modal dialog is added, allowing tenants to invite one user at a time. The GetUsers endpoint now includes an EmailConfirmed field to display "pending" for users who haven't accepted their invites. When an invited user logs in for the first time, their EmailConfirmed status is updated, and a UserInviteAccepted event is logged. Additionally, users are prompted to provide their name after their initial login to complete their profile.

The Users page layout is simplified by removing the tabs for All Users, Invited Users, and User Groups, creating a more unified view.

First name and last name fields are now required when updating user details, ensuring complete user profiles.

Lastly, a small fix adjusts the width of date columns in the User table to prevent cropping (e.g., "Sept 31").

Checklist

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
67.8% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud