Would we be able to utilize Plasmic permissions / roles from the growth plan in code components?
what do you mean by utilizing roles in code components?
So we have a case were certain props are exposed in the editor. However, those are mainly for dev usages. I see that the growth plan has specialized roles and was wondering if it was possible to utilize these roles in the code component to limit interactions with certain props
Example:
name
prop - Everyone can access
apiToken
prop - Only users with the role developer
can see + interact with this prop
Oh interesting! Right now we support passing in advanced: true
when you register a prop, which would hide it in a collapsed section. We don’t support limiting access to props based on roles yet
thats awesome! definitely would help hide someone of our more dangerous props
thanks!