VSN-2377 : Integrating exclusion of user access to a certain document & rectifying root docs & folders retrieval + inner docs & folders retrieval based on access permissions.
Merge Request Description
Api Call Related to Document Exclusion
This commit introduces the declaration and implementation of an API call dedicated to handling document exclusion. It establishes the foundation for excluding specific documents from user access, ensuring that the exclusion logic is properly integrated into the system.
Defining Integration Method
This commit adds an integration handler method that connects the exclusion logic with the broader application workflow. It ensures that the exclusion process is consistently applied whenever documents are retrieved or accessed.
Folders Exclusion API Call
This commit defines the API call responsible for excluding entire folders. It extends the exclusion mechanism from individual documents to folder-level structures, allowing for more comprehensive access control.
Integration and Dynamising Exclusion
This commit integrates the exclusion logic into the application and enhances it by making the process dynamic. It ensures that exclusion rules are applied in real time, adapting to changes in user permissions or document states.
Refactoring Root Docs Retrieval
This commit refactors the retrieval process of root documents. By passing the connectedUui, the system ensures that only permitted documents are fetched, aligning document retrieval with the exclusion rules and improving security.
Defining Unified Dialog
This commit introduces a unified dialog component that centralizes exclusion-related interactions. It also further dynamises the exclusion logic for both documents and folders, providing a consistent and user-friendly interface for managing exclusions.
Closes VSN-2377