Project

General

Profile

Actions

Task #1414

closed

Role subdefinition for assigned role attributes

Added by Vít Švanda about 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Vít Švanda
Category:
Roles
Target version:
Start date:
12/13/2018
Due date:
% Done:

100%

Estimated time:
Owner:

Description

We have feature "Assigned role attributes" now. Role's attributes are defined as form definition connected to the role now.
- In this task we want to implement new agenda for definition which attributes (from main definition) should be show. This agenda will be controlled so called "subdefinition".
- Subdefinition must be used in concept detail on FE, in validation on BE, in default values generators in BE....
- The default attribute value is now defined in the attribute definition (in main form definition). Another require requires defining default value for specific attribute for every role. It means we need create mechanism for overriding default value in specific subdefinition.
- Every change on subdefinition (CUD) will be approving within role request.

Actions #1

Updated by Vít Švanda almost 6 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Vít Švanda almost 6 years ago

  • % Done changed from 0 to 20

Created - FE crud agenda

Actions #3

Updated by Vít Švanda almost 6 years ago

  • % Done changed from 20 to 30
  • Default value is prefilled from the attribute in main definition.
  • I modified methods returns form-definition (role, identity-role controllers and formService)
Actions #4

Updated by Vít Švanda almost 6 years ago

  • % Done changed from 30 to 40
  • I completed work with subdefinition (get definition, values, save, update ...).
  • I modifed generators of default values for concept-role and identity-role for work with default values from role-form-attributes.
Actions #5

Updated by Vít Švanda almost 6 years ago

  • % Done changed from 40 to 50
  • Created create script for postgresql
  • Added validation fields and implementing of override the required validation
Actions #6

Updated by Vít Švanda almost 6 years ago

  • % Done changed from 50 to 60
  • Implemented permissions for IdmRoleFormAttribute agenda and evaluator for propagate permissions from the role (RoleFormAttributeByRoleEvaluator).
  • I started with implementation of requesting for new agenda.
Actions #7

Updated by Vít Švanda almost 6 years ago

  • % Done changed from 60 to 70

- Implemented support for approval changes on the RoleFormAttribute agenda.
- Created tests for RoleFormAttribute agenda (DefaultIdmRoleFormAttributeServiceIntegrationTest).
- All merged to the develop

Actions #8

Updated by Vít Švanda almost 6 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Vít Švanda to Radek Tomiška
  • % Done changed from 70 to 90

- Documentation was created here: https://wiki.czechidm.com/devel/documentation/role_attributes.
- Only flyway script for MSSQL missing now.

Actions #9

Updated by Vít Švanda almost 6 years ago

  • Target version changed from Opal (9.4.0) to Opal (9.4.0-rc.2)
Actions #10

Updated by Radek Tomiška almost 6 years ago

  • Status changed from Needs feedback to Resolved
  • Assignee changed from Radek Tomiška to Vít Švanda
  • % Done changed from 90 to 100

I've added change script for mssql and did a feedback. I works and code is nice, thx!

I did only some minor changes (layout etc., https://github.com/bcvsolutions/CzechIdMng/commit/c73c6a618feca2c8247381059b73f337b5d1ae41).

Actions #11

Updated by Vít Švanda almost 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF