User Levels, Enums and Policies, oh My!

In this blog post over on Fly.io I take a look at PHP 8.1’s new Enum class, and show you how it can be used to set up a level structure for your users. Administrators are allowed to do anything, whereas contributors or regular member are not.

Take a look at the article here:

2 Likes