Project

General

Profile

Actions

Task #1370

closed

Role - add 'environment' attribute

Added by Radek Tomiška about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Roles
Target version:
Start date:
11/08/2018
Due date:
% Done:

100%

Estimated time:
4.00 h
Owner:

Description

add 'environment' attribute to 'IdmRole':
- change script (postgresql, mssql)
- filter
- synchronization

Actions #1

Updated by Radek Tomiška about 6 years ago

  • Status changed from New to In Progress
Actions #2

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?

Actions #3

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.

Actions #4

Updated by Radek Tomiška about 6 years ago

  • Status changed from Resolved to Closed

Thx!

Actions

Also available in: Atom PDF