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) - ?, FE), * create automatic role by attribute configuration entity (service, repository, controller, same in FE) - 6h, FE), * create automatic role by attribute rule entity (service, repository, controller, same in FE) - 6h, FE), * automatic role by attribute is assignment by only one rule (for now) - 8h, now), * for evaluation rule is used only 'equals' statement - 4h, statement, * by one automatic role by attribute can be assignment more roles (create another entity - connection between configuration and role) (service, repository, controller, same in FE) - 6h, role), * create new agenda for both types of automatic roles (treeNode, attribute) - CRUD operation (update operation for all automatic role is not allowed) - ~5h, allowed), * create new automatic role by attribute is approve (same behavior as automatic role by tree node) - 2h?, node), * change automatic role agenda in role detail (now exists two types, modal window for add new automatic role isn't sufficient) - 3h, sufficient), * change automatic role agenda in tree node detail (show only one type of automatic role) - 3h, role), * documentation, tutorial? - 8h, tutorial?, * tests - 8h. tests.