79 Commits

Author SHA1 Message Date
Diana Olarte
b50731187b feat(authz): [FC-0099] create LibrariesUserManager view to manage roles for a specific user (#6)
* refactor: use Link from react-router in Breadcrumb links

* feat: create RoleCard component

This is a reusable component, that display a card for each role with a collapsible showing the associated permissions. The permissions, are organized by  resource and enable/disable.

* feat: create the user management view

* feat: integrate the LibrariesUserManagement view in the application

* style: add ts doc to buildPermissionsByRoleMatrix  function

* feat: add loading state to the cards roles

* style: nit space

* fix: nit extra comment and validation

* test: update fireEvent with useEvent
2025-10-21 17:08:22 -04:00
Diana Olarte
c5cab497ac fix: add delete permissions and user the libraryId to retrieve the mapping of roles and permissions 2025-10-16 17:07:02 -03:00
Diana Olarte
8fd0b12f57 refactor: fix tsdoc for usePermissionsByRole 2025-10-16 17:07:02 -03:00
Diana Olarte
9e2ab6d647 fix: update the library scope according to the backend requirements 2025-10-16 17:07:02 -03:00
Diana Olarte
78665d97a5 fix: remove extra permissions from libraries metadata 2025-10-16 17:07:02 -03:00
Diana Olarte
11723e2878 fix: update validation request body and getTeamMembers response 2025-10-16 17:07:02 -03:00
Diana Olarte
b0eaa1b035 fix: use role insted of key for roles identifier 2025-10-16 17:07:02 -03:00
Diana Olarte
6316586cc0 feat: update state to return the roles and permissions metadata 2025-10-16 17:07:02 -03:00
Diana Olarte
6d8f6fa1c7 fix: display username intead of name 2025-09-29 12:10:22 -03:00
Diana Olarte
66fb56e198 style: update linter validation and fix lint issues 2025-09-29 12:10:22 -03:00
Diana Olarte
30dd1604d1 refactor: useLibrary directly in the componets to access the metadata 2025-09-29 12:10:22 -03:00
Diana Olarte
36d2ba434d style: single quote imports 2025-09-29 12:10:22 -03:00
Diana Olarte
8ad80a1195 refactor: create Query Keys factories 2025-09-29 12:10:22 -03:00
Diana Olarte
727bf74049 style: fix linter issues and data location 2025-09-29 12:10:22 -03:00
Diana Olarte
651ded21a7 fix: convert data to camel case in the api return for getTeamMembers 2025-09-29 12:10:22 -03:00
Diana Olarte
a25bd1bb00 style: fix color for background tabs 2025-09-29 12:10:22 -03:00
Diana Olarte
c73ff150bc refactor: use a better name for the team management view 2025-09-29 12:10:22 -03:00
Diana Olarte
aefa9b0feb test: improve coverage 2025-09-29 12:10:22 -03:00
Diana Olarte
9a8d0d21d7 feat: add the libraries authz management view 2025-09-29 12:10:22 -03:00
Diana Olarte
21a3b9278b feat: create the table team management table 2025-09-29 12:10:22 -03:00
Diana Olarte
26e28aeb96 feat: create the libraries context 2025-09-29 12:10:22 -03:00
Diana Olarte
b825a8bdd9 feat: create layaut module components 2025-09-29 12:10:22 -03:00
Diana Olarte
80d04ed000 feat: create app utilities for the API url resolution and permission validation 2025-09-29 12:10:22 -03:00
Diana Olarte
f0298dc9eb feat: create a loading page and the AuthZModule 2025-09-29 12:10:22 -03:00
Diana Olarte
34519a3d08 test: add testing-library user event , utils and update path resolver 2025-09-29 12:10:22 -03:00
Diana Olarte
f742571fd1 fix: add QueryClientProvider to the app 2025-09-24 08:23:06 -03:00
Diana Olarte
0f2e9f3a6a refactor: fix typos and remove footer based on the design 2025-09-24 08:23:06 -03:00
Diana Olarte
885b408e71 refactor: update the app template for the console
- Update the basic libraries needed for the application
- Update README and configuration files
- Create the authz folder as the fist module for development
2025-09-24 08:23:06 -03:00
Sarina Canelake
199a622006 Initial commit 2025-09-23 07:32:54 -04:00