@plasmicapp/react-web 0.2.156 → 0.2.158

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -854,6 +854,9 @@ function PlasmicPageGuard(props) {
854
854
  }
855
855
  }, [dataSourceCtxValue, appId, authorizeEndpoint, canTriggerLogin]);
856
856
  function canUserViewPage() {
857
+ if (!minRole) {
858
+ return true;
859
+ }
857
860
  if (!dataSourceCtxValue) {
858
861
  return false;
859
862
  }