Account


Earned badges

Achievement: Latest Unlocked

Topic Started

Topics

Replies Created

Reply to: Document Visibility on closed transaction

0 votes

Hello Duo_Liang

Thank you very much for your answer but doing more detailed tests I am observing that even when the package is in the process of signing the signers that have specific visibility can see all the documents :(, I share the following code fragment (using Java JDK) where I configure the visibility and some captures where it is observed that a signer who only has permission to see a document can see all the documents:

 

Code:

EslClient eslClient = eslClientManager.createEslClient(securityData);
            
            List<DocumentVisibilityConfiguration> configurations = new ArrayList<>();
            
            for(com.bbva.seiri.onespan.connector.dto.Document document : documentPackage.getDocuments()) {
                if(document.getViewers() != null) {
                    configurations.add(DocumentVisibilityConfigurationBuilder
                            .newDocumentVisibilityConfiguration(document.getId())
                            .withSignerIds(document.getViewers())
                            .build());
                }
            }
            
            if(!configurations.isEmpty()) {
                eslClient.configureDocumentVisibility(packageId, DocumentVisibilityBuilder
                        .newDocumentVisibility()
                        .withConfigurations(configurations).build());
            }
            
            eslClient.sendPackage(packageId);


Attachments

Subscriptions

Topics Replies Freshness Views Users
3 1 year 6 months ago 35
Profile picture for user Duo_Liang

I'd like to know how to set document visibility when create a package by using REST API? could you please share a sample code?

Thanks

Wendy

4 1 year 6 months ago 170
Profile picture for user Duo_Liang

Code Share

This user has not submitted any code shares.

Subscriptions Release Notes

This user is not subscribed to any release notes.