Chapter 12: Authentication

https://leanpub.com/ash-phoenix

12.1.1 Router Scope for Authentication

https://leanpub.com/ash-phoenix

12.1.2 Authentication Routes

https://leanpub.com/ash-phoenix

12.1.3 Testing It Out

https://leanpub.com/ash-phoenix

12.1.4 Showing Login Status on the Front Page

https://leanpub.com/ash-phoenix

12.1.5 Protecting LiveView Pages

https://leanpub.com/ash-phoenix

12.2 Testing Your Application

https://leanpub.com/ash-phoenix

12.2.1 Configure Ash Framework for Testing

https://leanpub.com/ash-phoenix

12.2.3 Installing mix_test_watch to Simplify Test Workflow

https://leanpub.com/ash-phoenix

12.2.4 Testing Category Workflow

https://leanpub.com/ash-phoenix

12.2.4.1 Test Guest Cannot Access Categories Admin Page

https://leanpub.com/ash-phoenix

12.2.4.2 Testing Protected LiveView Pages

https://leanpub.com/ash-phoenix

12.2.4.3 Extract Authentication Logic

https://leanpub.com/ash-phoenix

12.2.4.4 Adding the Rest of Category Tests

https://leanpub.com/ash-phoenix

12.3 Authorization

https://leanpub.com/ash-phoenix

12.3.1 What We’re Building

https://leanpub.com/ash-phoenix

12.3.2 Step 1: Creating the Resources

https://leanpub.com/ash-phoenix

12.3.2.1 Adding Permissions

https://leanpub.com/ash-phoenix

12.3.2.2 Adding Groups

https://leanpub.com/ash-phoenix

12.3.2.3 Connecting Groups to Permissions

https://leanpub.com/ash-phoenix

12.3.2.4 Connecting Users to Groups

https://leanpub.com/ash-phoenix

12.3.3 Setting Rules (Policies)

https://leanpub.com/ash-phoenix

12.3.3.1 Testing

https://leanpub.com/ash-phoenix