MyGit

v7.1.0

rappasoft/laravel-boilerplate

版本发布时间: 2020-07-08 04:53:09

rappasoft/laravel-boilerplate最新发布版本:v8.3.1(2022-01-17 11:00:35)

This release completely changes the way the previous authentication system worked. I probably went through 5 different iterations of a multi auth/guard architecture, but it became too messy and there are too many variables when dealing with different user tables and multiple different sessions. The solution I came up with I think serves the same purpose without the complexities. There is a new type column on the users table that is a predefined list of user types that your system supports, and a middleware to lock parts down to different types. The roles and permissions also have a corresponding type column to organize what roles and permissions are available to what user types, and the backend will only let you choose from the correct ones. For example: Any user of type admin can access the admin area, but they cannot do anything without a corresponding role or permission to a given section. This will let you structure your applications better if the use multiple different user types that have access to different areas, without using different guards, all with one users table and one login form.

Added

Changed

Removed

相关地址:原始地址 下载(tar) 下载(zip)

查看:2020-07-08发行的版本