2amigos / yii2-usuario

Highly customizable and extensible user management, authentication, and authorization Yii2 extension
https://github.com/2amigos/yii2-usuario
Other
294 stars 142 forks source link

Added REST admin controller #477

Closed MatteoF96 closed 2 years ago

MatteoF96 commented 2 years ago
Q A
Is bugfix? no
New feature? yes
Breaks BC? no
Tests pass? yes

Added new REST controller called AdminController that provides related REST APIs. Web controller (at Controller/AdminController.php) and new REST controller (at Controller/api/v1/AdminController.php) have the same logic.

Three new module parameters:

MatteoF96 commented 2 years ago

Added enableRestApi module parameter to enable/disable REST APIs (default value = false).