Feature #2922
closedAdd role to assigned properties and licences overview
100%
Description
Please add a column with role(s) from which the user has a property or a license item assigned to the overview in the identity prophile.
Files
Updated by Tomáš Doischer about 3 years ago
- Status changed from New to In Progress
- Assignee set to Tomáš Doischer
This is more complicated than it may appear. One property is always assigned by one set role only. This was implemented only in order to prevent removing set roles which still assign some property.
I can, of course, find the set role that is currently used to assign property and show it. But the user may have other roles which would assign an item from a set and I have no easy way of knowing.
Best solution would be to create a new object IdentitySetRole (similar to IdentityRole) and use it but this wouldn't be backwards compatible. It is possible, though, one would just need to run some sort of migration task. Then a backend bulk action would allow force delete of set roles. But this is a pretty major change. I am not sure this feature's benefits are worth the effort.
I will, however, do the quick and relatively easy thing and show the one set role which is currently used. This should cover most of the cases anyway.
Updated by Tomáš Doischer about 3 years ago
- Status changed from In Progress to Needs feedback
- % Done changed from 0 to 80
I ended up just adding the info card for role. I played around with a set role info card for a bit but it wasn't very useful in the end.
Commit: https://git.bcvsolutions.eu/modules/property/-/commit/4714c6ed2f537332e4ecc19cad55dfa901f20614
Updated by Peter Štrunc over 1 year ago
- Status changed from Needs feedback to Resolved
- % Done changed from 80 to 100
LGTM