Task #340
closedComponent RoleInfo - implement full and popover decorator
100%
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.
Related issues
Updated by Radek Tomiška almost 8 years ago
- Follows Task #336: Component EntityInfo - information about entity added
Updated by Radek Tomiška almost 8 years ago
- Copied to Task #341: Component SystemInfo - implement full and popover decorator added
Updated by Radek Tomiška over 7 years ago
- Target version changed from Citrine (7.3.0) to Diamond (7.4.0)
Updated by Ondřej Kopr over 7 years ago
- Assignee changed from Ondřej Kopr to Petr Michal
Updated by Petr Michal over 7 years ago
- Status changed from New to Needs feedback
- Assignee changed from Petr Michal to Radek Tomiška
- % Done changed from 0 to 80
here are tasks #340 and #341 https://github.com/bcvsolutions/CzechIdMng/commit/5520db1ff67aecb4fc59bbabc4d7334fc8b3f2c0
Can you please make feedback? Btw. It was my first meeting with our front-end and java script.
Also during implementation I found these things, which we should fixed in new ticket:
1) In identity popup text sometimes overlaps user icon.
2) For all inactive entities colour of popup is brown but link to full detail is green, what looks weird to me.
Updated by Radek Tomiška over 7 years ago
- Status changed from Needs feedback to Closed
- Assignee changed from Radek Tomiška to Petr Michal
- 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)