Task #599
closedRole detail - new tab with role account
100%
Description
Add new tab to role detail with role accounts with the same features as tab accounts on identity detail:
- expose new rest endpoint for AccRoleAccountDto (see AccIdentityAccountController)
- add new content with tab to acc module and register content in routes and module descriptor (see IdentityAccountsContent) - create service, redux manger, locale ...
- add new AccGroupPermission.ROLE_ACCOUNT = "ROLEACCOUNT" and secure rest endpoint (see IdmIdentityContractController)
- add new authorization evaluator with transient persmission to role (see IdentityContractByIdentityEvaluator)
- implement AuthorizableService<AccRoleAccountDto> in AccRoleAccountService and DeafultAccRoleAccountService (see DefaultIdmIdentityContractService)
- remove AccRoleAccountRepository find method implementation query (see IdmIdentityContractRepository#find) and implement search by criteria api in (see DefaultIdmIdentityContractService)
- update documentation (https://wiki.czechidm.com/7.3/dev/security/authorization#base_authorization_evaluators) and create tests (RoleTransitiveEvaluatorsIntegrationTest)
Related issues
Updated by Roman Kučera over 7 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 90
Implementation in rkucera/599-tab-role-accounts
Added new secured endpoint, new permissons, evaluator, using criteria insted of find. Doc updatede + test created.
On frontend added new tab in role detail.
Updated by Roman Kučera over 7 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Roman Kučera to Radek Tomiška
Updated by Radek Tomiška over 7 years ago
- Status changed from Needs feedback to Closed
- Assignee changed from Radek Tomiška to Roman Kučera
- % Done changed from 90 to 100
It works and code looks nice, thx! I've just fixed permission evaluation on FE, modal form for creating new role account and some minors.
I merged it into develop.
Updated by Radek Tomiška over 7 years ago
- Due date set to 08/14/2017
- Start date changed from 07/25/2017 to 08/14/2017
- Follows Task #648: Tree node detail - new tab with node account added