separate route permission + token manage

This commit is contained in:
xiaomlove
2025-04-17 18:59:03 +07:00
parent 263901bc54
commit 432c57f886
27 changed files with 203 additions and 54 deletions
+1
View File
@@ -42,6 +42,7 @@ return [
'oauth_access_token' => 'Access tokens',
'oauth_auth_code' => 'Auth codes',
'oauth_refresh_token' => 'Refresh tokens',
'token' => 'Access tokens',
],
'resources' => [
'agent_allow' => [
-4
View File
@@ -217,8 +217,4 @@ return [
'text' => 'Allow Userbar',
'desc' => ' Get his userba',
],
'torrent:list' => [
'text' => 'Get torrent list',
'desc' => 'Get torrent list',
],
];
+2
View File
@@ -5,4 +5,6 @@ return array (
'permission' => 'Permissions',
'maximum_allow_number_reached' => 'The number reaches the upper limit',
'create_success_tip' => 'The token was created successfully, this data is displayed only once, please save it properly<br/><br/>:token',
'last_used_at' => 'Recent usage time',
'token' => 'summary',
);