Skip to main content
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

Best answer by Gleb

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

View original
This topic has been closed for replies.

3 replies

Gleb
  • Power Member
  • 4708 replies
  • Answer
  • 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).


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
  • 4708 replies
  • June 16, 2023

Yes, correct


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings