Skip to content

KC-1343: Fix Expose owner flag in classic shared folder get JSON output#2197

Merged
sshrushanth-ks merged 1 commit into
KC-1343from
KC-1343-int
Jul 10, 2026
Merged

KC-1343: Fix Expose owner flag in classic shared folder get JSON output#2197
sshrushanth-ks merged 1 commit into
KC-1343from
KC-1343-int

Conversation

@sshrushanth-ks

Copy link
Copy Markdown
Contributor

Summary

Classic shared folder get --format json did not identify which user owns the folder, even though NSF folder output already exposes owner information. This fix adds an owner boolean to each entry in the users array by matching against owner_username and owner_account_uid from sync-down.

Changes

  • record.py — added _is_classic_shared_folder_owner; classic shared folder JSON now includes owner on each user
  • test_command_record.py — added test_get_shared_folder_json_includes_owner_flag to verify owner flag in JSON output

@sshrushanth-ks sshrushanth-ks marked this pull request as ready for review July 8, 2026 07:40
@sshrushanth-ks sshrushanth-ks self-assigned this Jul 8, 2026
@sshrushanth-ks sshrushanth-ks changed the title KC-1329: Fix Expose owner flag in classic shared folder get JSON output KC-1343: Fix Expose owner flag in classic shared folder get JSON output Jul 8, 2026
@sshrushanth-ks sshrushanth-ks merged commit eedae2f into KC-1343 Jul 10, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants