Enhance security by adding role-checking functions in ESLint configuration and updating Vue components to improve content sanitization comments, while refining error handling in API endpoints for better clarity.
Some checks failed
Code Analysis (JS/Vue) / analyze (push) Failing after 3m40s
Some checks failed
Code Analysis (JS/Vue) / analyze (push) Failing after 3m40s
This commit is contained in:
@@ -32,12 +32,16 @@ export default [
|
||||
'setCookie': 'readonly',
|
||||
'deleteCookie': 'readonly',
|
||||
'getHeader': 'readonly',
|
||||
'setHeader': 'readonly',
|
||||
'getRouterParam': 'readonly',
|
||||
'getQuery': 'readonly',
|
||||
'sendStream': 'readonly',
|
||||
'sendRedirect': 'readonly',
|
||||
'createError': 'readonly',
|
||||
'useRuntimeConfig': 'readonly',
|
||||
'hasAnyRole': 'readonly',
|
||||
'hasRole': 'readonly',
|
||||
'hasAllRoles': 'readonly',
|
||||
'process': 'readonly',
|
||||
// Vue Composition API
|
||||
'onUnmounted': 'readonly',
|
||||
|
||||
Reference in New Issue
Block a user