Project owner field not prefilled with current user during project creation (SZ-65)
rk@tigase.net opened 3 weeks ago

Summary

When creating a new project, after repository validation, the project creation form includes an "Owner" field. This field is currently empty and requires manual selection, even though the current authenticated user is the obvious default owner.

The Owner field should be prefilled with the currently logged-in user.

Problem

During the project creation flow:

  • The user has already authenticated
  • The backend knows the current principal
  • The user is the most common (and expected) project owner

Leaving the Owner field empty causes:

  • Unnecessary manual input
  • Extra clicks for the most common case
  • Minor but persistent UX friction during project creation

This is especially noticeable when creating multiple projects.

Expected Behavior

  • The Owner field is prefilled with the currently authenticated user
  • The user can still change the Owner explicitly if needed
  • Prefilling does not override an explicitly selected owner

Suggested Implementation

  • On project creation form initialization, set the Owner field to the current user
  • Use the authenticated principal (or user context already available in the UI)
  • Ensure backend validation still enforces correct ownership rules

Acceptance Criteria

  • Owner field is automatically populated with the current user when the form is shown
  • User can change the Owner manually before submitting
  • No regression in project creation or validation logic

Time Estimate

  • Frontend default value wiring: 20–30 minutes
  • Verification and regression testing: 10–15 minutes

Total estimated effort: 30–45 minutes

  • rk@tigase.net changed state to 'In Progress' 3 weeks ago
    Previous Value Current Value
    Open
    In Progress
  • rk@tigase.net commented 3 weeks ago

    fixed in 1.8

  • rk@tigase.net changed state to 'Closed' 3 weeks ago
    Previous Value Current Value
    In Progress
    Closed
issue 1 of 1
Type
Bug
Priority
Normal
Assignee
Version
none
Sprints
n/a
Customer
n/a
Issue Votes (0)
Watchers (3)
Reference
SZ-65
Please wait...
Page is in error, reload to recover