<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Lancewan on Vue Templates</title><link>https://www.vuejstemplates.com/author/lancewan/</link><description>Recent content in Lancewan on Vue Templates</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://www.vuejstemplates.com/author/lancewan/index.xml" rel="self" type="application/rss+xml"/><item><title>Any</title><link>https://www.vuejstemplates.com/theme/lancewan-any/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://www.vuejstemplates.com/theme/lancewan-any/</guid><description>&lt;h2 id="overview">Overview&lt;/h2>
&lt;p>Any is a simplified permission management system developed based on Laravel 5.5. It is designed to be a minimalistic and user-friendly backend module with basic permission control. The project started by referencing a foreigner&amp;rsquo;s source code for a permission system. Initially, it was built on Laravel 5.2 with IAdmin backend. Later, it evolved into iDashboard with optimized design ideas and code structure. The system binds permissions to route names and uses a middleware to handle permission checks for all controllers. With the goal of reducing the need for manual permission definition and configuration, Any was created as a refactored project based on the experiences from iDashboard. The main principle of Any is to generate a unique permission value based on the controller and method of the user&amp;rsquo;s requested route. The middleware then checks if a user has the necessary permission. If the user is a super administrator, they are automatically granted the permission even if it is not explicitly defined. To optimize performance, a cache of all user permissions is created upon successful login, so permission checks can directly access the cache without additional queries. The cache is updated whenever any role&amp;rsquo;s permissions are modified. The codebase has also undergone multiple optimizations. Any features include controller method-based permission control, support for multiple themes (currently only one set is developed), and multi-language support (data localization has not been implemented yet).&lt;/p></description></item></channel></rss>