fix(developers): add Mattermost team membership and role-aware Gitea provisioning
All checks were successful
Build and Deploy / deploy (push) Successful in 18s
All checks were successful
Build and Deploy / deploy (push) Successful in 18s
New users are now added to the SilverLABS Mattermost team after account creation. Gitea provisioning is skipped for Testers (only Developers get repo access). Role is parsed from ticket description and threaded through the entire approval/confirmation flow. Gitea API token is now configured. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -35,13 +35,14 @@ public class DeveloperTicketParsingService
|
||||
}
|
||||
}
|
||||
|
||||
public (string? FullName, string? Email, string? DesiredUsername) ParseApplicationFromDescription(string description)
|
||||
public (string? FullName, string? Email, string? DesiredUsername, string? Role) ParseApplicationFromDescription(string description)
|
||||
{
|
||||
var fullName = ExtractField(description, @"\*\*Full Name:\*\*\s*(.+)");
|
||||
var email = ExtractField(description, @"\*\*Email:\*\*\s*(.+)");
|
||||
var desiredUsername = ExtractField(description, @"\*\*Desired Username:\*\*\s*(.+)");
|
||||
var role = ExtractField(description, @"\*\*Role:\*\*\s*(.+)");
|
||||
|
||||
return (fullName, email, desiredUsername);
|
||||
return (fullName, email, desiredUsername, role);
|
||||
}
|
||||
|
||||
private static string? ExtractField(string text, string pattern)
|
||||
|
||||
Reference in New Issue
Block a user