Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tutorial 4.1: Update lib/auth code & remove warning about non-existent TS error (fixed via #5856, shipped in v2.1) #6158

Merged
merged 4 commits into from
Aug 8, 2022

Conversation

Philzen
Copy link
Contributor

@Philzen Philzen commented Aug 7, 2022

Looks like this hasn't been updated a while :)

Actually, on second look that code is even dysfunctional b/c hasRole(roles) call in requiredAuth would have failed.

Also took the liberty of degrading :::caution to :::info, as there really is no need to be "alarmed" about anything, we're merely providing some context.

@nx-cloud
Copy link

nx-cloud bot commented Aug 7, 2022

☁️ Nx Cloud Report

We didn't find any information for the current pull request with the commit aeb18a2.
You might need to set the 'NX_BRANCH' environment variable in your CI pipeline.

Check the Nx Cloud Github Integration documentation for more information.


Sent with 💌 from NxCloud.

@netlify
Copy link

netlify bot commented Aug 7, 2022

Deploy Preview for redwoodjs-docs ready!

Name Link
🔨 Latest commit aeb18a2
🔍 Latest deploy log https://app.netlify.com/sites/redwoodjs-docs/deploys/62f07622f0d9d4000895a661
😎 Deploy Preview https://deploy-preview-6158--redwoodjs-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@Tobbe Tobbe added the release:docs This PR only updates docs label Aug 8, 2022
@Tobbe Tobbe assigned Tobbe and unassigned noire-munich Aug 8, 2022
@Philzen Philzen force-pushed the update-auth.ts-tutorial branch from fc2ddd3 to 896cdc3 Compare August 8, 2022 01:32
@Philzen Philzen requested a review from Tobbe August 8, 2022 01:32
@Philzen Philzen force-pushed the update-auth.ts-tutorial branch from 265e4c3 to 08fac71 Compare August 8, 2022 01:55
@Philzen Philzen requested a review from Tobbe August 8, 2022 02:15
Copy link
Member

@Tobbe Tobbe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove the entire :::info block

@Philzen Philzen force-pushed the update-auth.ts-tutorial branch from 08fac71 to 2e35076 Compare August 8, 2022 02:31
@Philzen Philzen force-pushed the update-auth.ts-tutorial branch from 2e35076 to aeb18a2 Compare August 8, 2022 02:34
@Tobbe Tobbe enabled auto-merge (squash) August 8, 2022 02:35
@Tobbe Tobbe merged commit 25bf798 into redwoodjs:main Aug 8, 2022
@redwoodjs-bot redwoodjs-bot bot added this to the next-release milestone Aug 8, 2022
@jtoar jtoar modified the milestones: next-release, v3.0.0 Sep 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:docs This PR only updates docs
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants