This is an automated email from the ASF dual-hosted git repository.
Aman-Mittal pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/fineract-backoffice-ui.git
from 03533bfc Merge pull request #655 from
shivaansh0610-LUFFY/fix/652-translate-template-text
add 40a10db5 test(e2e): share one seeded-user sign-in helper across the
RBAC specs
add 50dbed2e test(e2e): let a seeded user belong to an office other than
Head Office
add 37fc6257 fix(clients): fetch a client's accounts only once the client
itself has loaded
add 36a95ee8 fix(ui): tell a refused list from a broken one, and withhold
the futile retry
add f4afc6cf fix(offices): withhold the edit control from a user who
cannot update an office
add 4072b71b test(rbac): cover office scope, an account granted nothing,
and rbacEnabled false
new acb2842f Merge pull request #657 from
Aman-Mittal/test/rbac-role-coverage
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
e2e/rbac-backend-restricted-user.spec.ts | 35 +---
e2e/rbac-disabled-flag-backend.spec.ts | 167 ++++++++++++++++++
e2e/rbac-multi-permission.spec.ts | 41 ++---
e2e/rbac-office-scoped-user.spec.ts | 195 +++++++++++++++++++++
e2e/rbac-permissionless-user.spec.ts | 143 +++++++++++++++
e2e/utils/fineract-login.ts | 34 ++++
e2e/utils/seed-api.ts | 13 +-
playwright.config.ts | 3 +
.../accounting/chart-of-accounts.component.ts | 16 +-
src/app/features/clients/client-view.component.ts | 10 +-
src/app/features/loans/loans-list.component.ts | 16 +-
.../organization/offices/offices-list.component.ts | 10 ++
.../data-table/data-table.component.test.ts | 41 +++++
.../components/data-table/data-table.component.ts | 54 ++++--
src/assets/i18n/en.json | 3 +-
15 files changed, 703 insertions(+), 78 deletions(-)
create mode 100644 e2e/rbac-disabled-flag-backend.spec.ts
create mode 100644 e2e/rbac-office-scoped-user.spec.ts
create mode 100644 e2e/rbac-permissionless-user.spec.ts