Project

General

Profile

Actions

Task #327

closed

Automatic roles

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

Status:
Closed
Priority:
Normal
Assignee:
Ondřej Kopr
Category:
Roles
Target version:
Start date:
03/07/2017
Due date:
% Done:

100%

Estimated time:
Owner:

Description

Add automatic roles configuration:
  • design: https://proj.bcvsolutions.eu/ngidm/doku.php?id=roztridit:standardni_procesy#automaticky_pridelovane_role
  • automatic role = relation between role and tree node.
  • when new identity contract is created, then automatic roles by contract's tree node will be assigned to identity
  • when identity contract is disabled or removed, then all roles from this contract will be removed
  • when identity contract is changed, then automatic role validity has to be changed too etc.
  • [optional] recount identity's assigned roles, when automatic role is changed - will be configurable
  • assigned roles by automatic roles can be approved or not - will be configurable (default not approved)
  • automatic roles change can be approved by role guarantee - will be configurable (default not approved). New workflow definition for automatic role approval will be prepared.
  • add eav attributes to identity contract
  • add disabled, description, primary (default) attributes to identity contract entity - disabled
  • primary identity contract will be used as identity's position in organization
Actions #1

Updated by Radek Tomiška about 7 years ago

  • Description updated (diff)
Actions #2

Updated by Radek Tomiška about 7 years ago

All basic features are implemented. Integration test and documentation remain in progress.

Actions #3

Updated by Radek Tomiška about 7 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Radek Tomiška to Ondřej Kopr
  • % Done changed from 0 to 90

Integration tests were created. Doc: https://proj.bcvsolutions.eu/ngidm/doku.php?id=roztridit:standardni_procesy#automaticky_pridelovane_role

Could you please make a review and test?

Actions #4

Updated by Ondřej Kopr about 7 years ago

  • Status changed from Needs feedback to In Progress

Automatic roles looks awesome i found some minor issues:

  • After create automatic assigned role for tree node, i want to edit this new record, but i receive error: Request method 'PATCH' not supported,
  • i have some automatic roles (more than one) on role agenda (role detail), i want all remove this records. Check all records by checkboxes and use bulk operation for remove. On user that is guarantee of this role has only one task for first record another task missing. Add - working ok (all task was created).

Documentation with examples is awesome! Documentation (Application configuration) czech is different to english. Section "Entity event processors" missing.

Actions #5

Updated by Radek Tomiška about 7 years ago

  • Status changed from In Progress to Needs feedback

I've fixed both review notes. Could you please make a review and test?

Actions #6

Updated by Ondřej Kopr about 7 years ago

  • Status changed from Needs feedback to Resolved
  • % Done changed from 90 to 100

Thank you, now is everything fine.

Actions #7

Updated by Radek Tomiška about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF