Task #1370
closedRole - add 'environment' attribute
100%
Description
add 'environment' attribute to 'IdmRole':
- change script (postgresql, mssql)
- filter
- synchronization
Updated by Radek Tomiška about 6 years ago
- Status changed from New to In Progress
Updated by Radek Tomiška about 6 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Radek Tomiška to Vít Švanda
- % Done changed from 0 to 90
I added environment and baseCode attribute into role. Unique role's code is combined from base code, environment and with separator ('|' by default). It's possible to synchronize (or create) roles with the same base code and different environment. Environment is needed to use in synchronization mapping and correlation (e.g. attribute is filled by constant and this constant has to be used in correlation to e.g. '<baseCode>|<environment>', tutorial can be created in future).
Role environment and base code is rendered in tables and in nice label on frontend.
Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/f3dbd3f7f06fb90f5c302896f327359bc91b0c95
Doc:
https://wiki.czechidm.com/devel/documentation/roles#roles_and_environment
https://wiki.czechidm.com/devel/documentation/application_configuration/dev/backend#role
https://wiki.czechidm.com/devel/documentation/architecture/dev/events#rolecodeenvironmentprocessor
Could you do a feedback and add new attributes into ERD diagram, please?
Updated by Vít Švanda about 6 years ago
- Status changed from Needs feedback to Resolved
- Assignee changed from Vít Švanda to Radek Tomiška
- % Done changed from 90 to 100
I did review and test. It works correctly, code is nice. Thanks for that. I completed ER diagram.