Skip to main content
June 15, 2023
Solved

Don't allow access or swap instance to any user

  1. I have created a plugin to get the component by the key from the library by instance.
  2. But when the other user or any user creating the button from library it is allowing access other component from “swap instance” in which they can access other components without key as well check the screenshot. How can we prevent this because it is not secure for us we are going to sell our component.


th

This topic has been closed for replies.
Gleb
GlebSolution
Power Member
June 15, 2023

The only way to solve this is to publish multiple different libraries, each with a separate component (so one component per file).

3 replies

Gleb
GlebSolution
Power Member
June 15, 2023

The only way to solve this is to publish multiple different libraries, each with a separate component (so one component per file).

June 15, 2023

Like if I have 3 Component set for button like for Button/fll, button/text, button/outline. Each has 20 variants. so you mean Button/fill set should in different library then button/text should be in different library?

Correct?

Gleb
Power Member
June 16, 2023

Yes, correct