diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml index 58b20270f..14caa8b75 100644 --- a/src/i18n/locale/en.yml +++ b/src/i18n/locale/en.yml @@ -17,6 +17,7 @@ globals: date: Date dataSaved: Data saved dataDeleted: Data deleted + delete: Delete search: Search changes: Changes dataCreated: Data created diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml index dd72f82eb..346871f00 100644 --- a/src/i18n/locale/es.yml +++ b/src/i18n/locale/es.yml @@ -17,6 +17,7 @@ globals: date: Fecha dataSaved: Datos guardados dataDeleted: Datos eliminados + delete: Eliminar search: Buscar changes: Cambios dataCreated: Datos creados diff --git a/src/pages/Account/AccountAcls.vue b/src/pages/Account/AccountAcls.vue new file mode 100644 index 000000000..ac21861a7 --- /dev/null +++ b/src/pages/Account/AccountAcls.vue @@ -0,0 +1,129 @@ + + + + + +es: + New ACL: Nuevo ACL + ACL removed: ACL eliminado + ACL will be removed: El ACL será eliminado + Are you sure you want to continue?: ¿Seguro que quieres continuar? + diff --git a/src/pages/Account/AccountAliasList.vue b/src/pages/Account/AccountAliasList.vue deleted file mode 100644 index 896804484..000000000 --- a/src/pages/Account/AccountAliasList.vue +++ /dev/null @@ -1,106 +0,0 @@ - - - diff --git a/src/pages/Account/Acls/AclFilter.vue b/src/pages/Account/Acls/AclFilter.vue new file mode 100644 index 000000000..8035f92b8 --- /dev/null +++ b/src/pages/Account/Acls/AclFilter.vue @@ -0,0 +1,124 @@ + + + diff --git a/src/pages/Account/Acls/AclFormView.vue b/src/pages/Account/Acls/AclFormView.vue new file mode 100644 index 000000000..0103d1b2b --- /dev/null +++ b/src/pages/Account/Acls/AclFormView.vue @@ -0,0 +1,137 @@ + + + diff --git a/src/pages/Account/Alias/AliasCreateForm.vue b/src/pages/Account/Alias/AliasCreateForm.vue deleted file mode 100644 index d4d61a804..000000000 --- a/src/pages/Account/Alias/AliasCreateForm.vue +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - es: - Create alias: Crear alias - diff --git a/src/pages/Account/Alias/Card/AliasBasicData.vue b/src/pages/Account/Alias/Card/AliasBasicData.vue deleted file mode 100644 index 3f682fd67..000000000 --- a/src/pages/Account/Alias/Card/AliasBasicData.vue +++ /dev/null @@ -1,31 +0,0 @@ - - - diff --git a/src/pages/Account/Alias/Card/AliasCard.vue b/src/pages/Account/Alias/Card/AliasCard.vue deleted file mode 100644 index 8b6c9c3cf..000000000 --- a/src/pages/Account/Alias/Card/AliasCard.vue +++ /dev/null @@ -1,32 +0,0 @@ - - - diff --git a/src/pages/Account/Alias/Card/AliasDescriptor.vue b/src/pages/Account/Alias/Card/AliasDescriptor.vue deleted file mode 100644 index bc174aa0e..000000000 --- a/src/pages/Account/Alias/Card/AliasDescriptor.vue +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - en: - accountRate: Claming rate - es: - accountRate: Ratio de reclamación - Delete: Eliminar - Alias will be removed: El alias será eliminado - Are you sure you want to continue?: ¿Seguro que quieres continuar? - Alias removed: Alias eliminado - diff --git a/src/pages/Account/Alias/Card/AliasSummary.vue b/src/pages/Account/Alias/Card/AliasSummary.vue deleted file mode 100644 index cedae28b7..000000000 --- a/src/pages/Account/Alias/Card/AliasSummary.vue +++ /dev/null @@ -1,49 +0,0 @@ - - - diff --git a/src/pages/Account/Alias/Card/AliasUsers.vue b/src/pages/Account/Alias/Card/AliasUsers.vue deleted file mode 100644 index 39f881a4e..000000000 --- a/src/pages/Account/Alias/Card/AliasUsers.vue +++ /dev/null @@ -1,121 +0,0 @@ - - - - - -es: - User will be removed from alias: El usuario será borrado del alias - Are you sure you want to continue?: ¿Seguro que quieres continuar? - User removed: Usuario borrado - Delete: Eliminar - diff --git a/src/pages/Account/locale/en.yml b/src/pages/Account/locale/en.yml index f9bd7dc18..fd187ebfb 100644 --- a/src/pages/Account/locale/en.yml +++ b/src/pages/Account/locale/en.yml @@ -72,3 +72,15 @@ samba: verifyCertificate: Verify certificate testConnection: Test connection success: Samba connection established! +acls: + role: Role + accessType: Access type + permissions: Permission + search: Search acls + searchInfo: Search acls by model name + aclFilter: + principalId: Role + model: Model + property: Property + accessType: Access type + permission: Permission diff --git a/src/pages/Account/locale/es.yml b/src/pages/Account/locale/es.yml index 763143940..fa40717db 100644 --- a/src/pages/Account/locale/es.yml +++ b/src/pages/Account/locale/es.yml @@ -82,3 +82,15 @@ samba: Verify certificate: Verificar certificado testConnection: Probar conexión success: ¡Conexión con Samba establecida! +acls: + role: Rol + accessType: Tipo de acceso + permissions: Permiso + search: Buscar acls + searchInfo: Buscar acls por nombre + aclFilter: + principalId: Rol + model: Modelo + property: Propiedad + accessType: Tipo de acceso + permission: Permiso diff --git a/src/router/modules/account.js b/src/router/modules/account.js index e13215afc..54a91af26 100644 --- a/src/router/modules/account.js +++ b/src/router/modules/account.js @@ -11,7 +11,7 @@ export default { component: RouterView, redirect: { name: 'AccountMain' }, menus: { - main: ['AccountList', 'AccountAliasList'], + main: ['AccountList', 'AccountAcls'], card: [], }, children: [ @@ -31,13 +31,18 @@ export default { component: () => import('src/pages/Account/AccountList.vue'), }, { - path: 'alias-list', - name: 'AccountAliasList', + path: 'acls', + name: 'AccountAcls', meta: { - title: 'alias', - icon: 'email', + title: 'acls', + icon: 'check', }, - component: () => import('src/pages/Account/AccountAliasList.vue'), + component: () => import('src/pages/Account/AccountAcls.vue'), + }, + { + path: 'acl-form', + name: 'AccountAclForm', + component: () => import('src/pages/Account/Acls/AclFormView.vue'), }, ], }, diff --git a/src/router/modules/mailAlias.js b/src/router/modules/mailAlias.js deleted file mode 100644 index 8e0f8abdc..000000000 --- a/src/router/modules/mailAlias.js +++ /dev/null @@ -1,57 +0,0 @@ -import { RouterView } from 'vue-router'; - -export default { - path: 'account/alias', - name: 'Alias', - meta: { - title: 'alias', - icon: 'email', - moduleName: 'Alias', - }, - component: RouterView, - redirect: { name: 'AccountAliasList' }, - menus: { - main: [], - card: ['AliasBasicData', 'AliasUsers'], - }, - children: [ - { - name: 'AliasCard', - path: ':id', - component: () => import('src/pages/Account/Alias/Card/AliasCard.vue'), - redirect: { name: 'AliasSummary' }, - children: [ - { - name: 'AliasSummary', - path: 'summary', - meta: { - title: 'summary', - icon: 'launch', - }, - component: () => - import('src/pages/Account/Alias/Card/AliasSummary.vue'), - }, - { - name: 'AliasBasicData', - path: 'basic-data', - meta: { - title: 'basicData', - icon: 'vn:settings', - }, - component: () => - import('src/pages/Account/Alias/Card/AliasBasicData.vue'), - }, - { - name: 'AliasUsers', - path: 'users', - meta: { - title: 'aliasUsers', - icon: 'group', - }, - component: () => - import('src/pages/Account/Alias/Card/AliasUsers.vue'), - }, - ], - }, - ], -};