forked from fa/breadcrumb-the-shire
Seed api_tokens.manage via init SQL
This commit is contained in:
@@ -864,6 +864,7 @@ VALUES
|
||||
('api_audit.view', 'Can view API audit logs', 1, 1),
|
||||
('system_audit.view', 'Can view system audit logs', 1, 1),
|
||||
('system_audit.purge', 'Can purge system audit logs', 1, 1),
|
||||
('api_tokens.manage', 'Can manage user API tokens', 1, 1),
|
||||
('stats.view', 'Can view statistics', 1, 1)
|
||||
ON DUPLICATE KEY UPDATE
|
||||
`description` = VALUES(`description`),
|
||||
@@ -962,6 +963,7 @@ JOIN permissions p ON p.`key` IN (
|
||||
'users.lifecycle_restore',
|
||||
'custom_fields.manage', 'custom_fields.edit_values',
|
||||
'api_docs.view', 'docs.view',
|
||||
'api_tokens.manage',
|
||||
'mail_log.view', 'api_audit.view', 'system_audit.view', 'system_audit.purge',
|
||||
'stats.view'
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user