1
0
Fork 0
mirror of synced 2024-10-02 01:56:57 +13:00

wrong link for groups button

This commit is contained in:
Peter Clement 2022-07-14 11:18:31 +01:00
parent cfb211f23c
commit 855c47b19c
2 changed files with 3 additions and 2 deletions

View file

@ -72,7 +72,9 @@
newStyles
icon={isProPlan ? "UserGroup" : ""}
cta={isProPlan}
on:click={() => modal.show()}
on:click={isProPlan
? () => modal.show()
: window.open("https://budibase.com/pricing/", "_blank")}
>{isProPlan ? "Create user group" : "Upgrade Account"}</Button
>
{#if !isProPlan}

View file

@ -73,7 +73,6 @@ const checkAuthorizedResource = async (
export = (permType: any, permLevel: any = null, opts = { schema: false }) =>
async (ctx: any, next: any) => {
console.log(ctx)
// webhooks don't need authentication, each webhook unique
// also internal requests (between services) don't need authorized
if (isWebhookEndpoint(ctx) || ctx.internal) {