HIGH story-org-structure-management-organization-administrator-004 3 pts
3
Story Points
High
Priority
Organization Structure Management
Feature

User Story

As a Organization Administrator
I want to edit the name and metadata of an existing organizational unit within my organization
So that So that the system reflects official name changes or corrections without requiring a full delete-and-recreate workflow

Acceptance Criteria

  • Given I am an Organization Administrator viewing a unit detail screen, when I tap the Edit button, then the name field becomes editable in-place
  • Given I am editing a unit name, when I clear the name field and attempt to save, then validation prevents saving and shows a required field error
  • Given I submit a valid name change, when the update completes, then the tree view and detail screen both reflect the new name immediately without a full page reload
  • Given I am an Organization Administrator for Organization A, when I attempt to edit a unit belonging to Organization B, then the edit action is not available or returns a permission error
  • Given the edit is successful, when I navigate back to the tree, then the updated unit name is shown at the correct position in the hierarchy

Business Value

Organization names change over time due to mergers, rebranding, or corrections. Providing a safe edit workflow ensures the system stays synchronized with official organizational records without disrupting child relationships or activity attribution history, maintaining data integrity for Bufdir reporting.