Programming Phoenix LiveView: B7.0 pdf page 209 - admin users and auth

Please can we have this section added rather than:

Our app doesn’t currently have a concept of “admin” users, and we’ll leave building that out as an
exercise for the user.

It’s a pretty critical part of the demo app and it would be great to be shown the “proper” way to build it.

Leaving it out really devalues the book.

Thanks.

2 Likes

I think that at least having and example of how to properly create a custom Plug would be really helpful, as the migrations, etc are already clear, but the plug itself isn’t shown anywhere else.

Thanks.