Skip to content

NSF record and folder move commands added - #2324

Open
adeshmukh-ks wants to merge 11 commits into
nsf-move-commandsfrom
nsf-move-commands-int
Open

NSF record and folder move commands added#2324
adeshmukh-ks wants to merge 11 commits into
nsf-move-commandsfrom
nsf-move-commands-int

Conversation

@adeshmukh-ks

Copy link
Copy Markdown
Contributor

No description provided.

#2325)

* KC-1408: Treat first-time share invitations as success in Service Mode (#2303)

* Treat first-time share invitations as success in Service Mode

* Use ShareInviteSentError so NSF invite success does not mask real share failures

* Fix test imports for deleted pam_debug modules

Remove imports and tests for PAMDebugACLCommand and PAMDebugLinkCommand,
which were deleted in commit 2f1447a. Update test file to only include
tests for modules that still exist.
pvagare-ks and others added 3 commits August 28, 2026 08:50
* Support NSF folders in list-sf --roe-eligible

Add search_nested_share_folders() helper and extend RecordListSfCommand to
include NSF folders with PAM User rotation in --roe-eligible results. Enables
integrations (Slack, Google Chat) to detect PAM eligibility on NSF folders.

* Add NSF folder support to list-sf --roe-eligible with folder_type column

Gate NSF search behind --roe-eligible flag; add folder_type column ('Classic'
or 'Nested') to enable integrations to distinguish classic vs NSF folder UIDs.
Includes test coverage.
lthievenaz-keeper added a commit to lthievenaz-keeper/Commander that referenced this pull request Aug 31, 2026
In import (e.g. JSON), shared folders are matched by path, not UID.
If a vault has a shared folder with the same UID, but different path (e.g. the shared folder is nested in a personal folder), the import will create a new shared folder.

This changes the import process so that if the import includes a UID which matches that of a shared folder in the vault, the folder will not be duplicated. If the path is different, the existing folder will be moved to the new path.

Currently only wired up for Classic folders, awaiting the upcoming NSF folder-move API (Keeper-Security#2324) to apply this to NSF.
sshrushanth-ks and others added 2 commits August 31, 2026 09:01
…edit due to stale cache (#2329)

* KC-1408: Treat first-time share invitations as success in Service Mode (#2325)

* KC-1408: Treat first-time share invitations as success in Service Mode (#2303)

* Treat first-time share invitations as success in Service Mode

* Use ShareInviteSentError so NSF invite success does not mask real share failures

* Fix test imports for deleted pam_debug modules

Remove imports and tests for PAMDebugACLCommand and PAMDebugLinkCommand,
which were deleted in commit 2f1447a. Update test file to only include
tests for modules that still exist.

* added PathDelimiter (#2328)

* KC-1427: Add NSF folder support to list-sf --roe-eligible (#2323)

* Support NSF folders in list-sf --roe-eligible

Add search_nested_share_folders() helper and extend RecordListSfCommand to
include NSF folders with PAM User rotation in --roe-eligible results. Enables
integrations (Slack, Google Chat) to detect PAM eligibility on NSF folders.

* Add NSF folder support to list-sf --roe-eligible with folder_type column

Gate NSF search behind --roe-eligible flag; add folder_type column ('Classic'
or 'Nested') to enable integrations to distinguish classic vs NSF folder UIDs.
Includes test coverage.

* NSF: failed to load record for ls

* Fix NSF record fields reverting after pam tunnel/connection edit due to stale cache

* Fix NSF record fields reverting after pam tunnel edit

Load fresh record from raw cache after sync to avoid stale objects.

* Fix NSF record fields reverting after pam tunnel/connection edit. Reload fresh record from cache after sync to avoid stale TypedRecord instances.

* addressed review comments

* Fix unit test mocks: update_pam_record should return False, remove redundant decorator

---------

Co-authored-by: pvagare-ks <pvagare@keepersecurity.com>
Co-authored-by: Sergey Kolupaev <skolupaev@keepersecurity.com>
* Fix Service Mode Host I/O

* Handle alias for file import/export

* Fix python3.9 test case

* Fix token check for flags

* Fix review comments

* Remove extra comments and doc strings

* Fix directory clean up race condition
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.

7 participants