Task #842
Updated by Ondřej Kopr about 7 years ago
Role can be add by value that is store in attribute (identity, identity eav, contract, contract eav). Minimal request for this task: * transform current solution of automatic role (RoleTreeNode) to automatic roles (change controller, service, repository, all places where is used BE + FE), * create automatic role by attribute configuration entity (service, repository, controller, same in FE), * create automatic role by attribute rule entity (service, repository, controller, same in FE), * automatic role by attribute is assignment by only one rule (for now), * for evaluation rule is used only 'equals' statement, * by one automatic role by attribute can be assignment more roles (create another entity - connection between configuration and role), * create new agenda for both types of automatic roles (treeNode, attribute) - CRUD operation (update operation for all automatic role is not allowed), * create new automatic role by attribute is approve (same behavior as automatic role by tree node), * change automatic role agenda in role detail (now exists two types, modal window for add new automatic role isn't sufficient), * change automatic role agenda in tree node detail (show only one type of automatic role), * documentation, tutorial?, * tests.