Task #340
closed
Component RoleInfo - implement full and popover decorator
Added by Radek Tomiška almost 8 years ago.
Updated over 7 years ago.
Description
Implement RoleInfo full decorator (see EntityInfo 'face' parameter) and use him in popover decorator - the same behavior as in IdentityInfo component.
On the full info card should be information about role:
- role name,
- role type,
- direct subRoles (for now), joined by comma
- direct supRole
- link to detail on the end (see IdentityInfo), when logged identity has ROLE_READ access.
RoleInfo respectively EntityInfo will be used instead simple role nice label - mainly on identity's tabs - request roles etc.
- Follows Task #336: Component EntityInfo - information about entity added
- Copied to Task #341: Component SystemInfo - implement full and popover decorator added
- Target version changed from Citrine (7.3.0) to Diamond (7.4.0)
- Assignee changed from Ondřej Kopr to Petr Michal
- Status changed from New to Needs feedback
- Assignee changed from Petr Michal to Radek Tomiška
- % Done changed from 0 to 80
- Status changed from Needs feedback to Closed
- Assignee changed from Radek Tomiška to Petr Michal
I did test and review and made some design changes. I found and fixed some issues:
- import module specific (acc) less files from core is not possible. SystemInfo is in module acc, locale was in core etc.
- empty less files was removed
- added permissions evaluation to role info
- sup and sub roles was wrong (raw array given to element) - i removed them for now (I'll add them after sub roles refactoring)
- % Done changed from 80 to 100
Also available in: Atom
PDF