Skip to content

[Task] Backend: Rename Folder Logic#106

Description

@Maersk1112

馃搶 Description

Description
Implement backend logic to rename a folder, ensuring validation, conflict checking, and permissions enforcement.

馃敆 Related Issue(s)
None

馃敤 Subtasks

Design API endpoint to rename folder by folder ID

Validate new folder name (e.g., disallow empty or invalid characters)

Check for naming conflicts within the same parent directory

Verify user has permission to rename the folder

Update folder name in database/storage

Handle errors such as conflicts, permission denial, or invalid input

Write unit and integration tests for rename folder logic

Update API documentation with rename endpoint details

馃殾 Priority
None

馃弫 Current Status
None

馃敆 Related Issue(s)

No response

馃敤 Subtasks (if applicable)

  • Write implementation logic
  • Create/modify UI components
  • Add relevant documentation
  • Ensure lint/build/test pass

馃殾 Priority

None

馃弫 Current Status

None

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions