Implement token refresh logic and add refreshkey to user management
This commit is contained in:
@@ -919,5 +919,7 @@ UPDATE equipment
|
||||
SET warranty_date = DATE_ADD(warranty_date, INTERVAL 1 YEAR)
|
||||
WHERE warranty_date IS NOT NULL;
|
||||
|
||||
alter table users add refreshkey varchar(255);
|
||||
|
||||
|
||||
SET FOREIGN_KEY_CHECKS=1;
|
||||
@@ -1725,6 +1725,7 @@ function getProfile($profile, $permission){
|
||||
// Always allowed collections: [collection => allowed_actions_string]
|
||||
$always_allowed = [
|
||||
'com_log' => 'CRU',
|
||||
'token_refresh' => 'R',
|
||||
'application' => 'CRU',
|
||||
'user_roles' => 'R',
|
||||
'user_role_assignments' => 'R',
|
||||
|
||||
Reference in New Issue
Block a user