Project

General

Profile

Actions

Feature #2922

closed

Add role to assigned properties and licences overview

Added by Vladimír Kotýnek over 2 years ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Tomáš Doischer
Target version:
Start date:
08/31/2021
Due date:
% Done:

100%

Estimated time:
Owner:

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

overview.png (83.8 KB) overview.png Vladimír Kotýnek, 08/31/2021 11:07 AM
Actions #1

Updated by Tomáš Doischer over 2 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.

Actions #2

Updated by Tomáš Doischer over 2 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

Actions #3

Updated by Peter Štrunc 12 months ago

  • Status changed from Needs feedback to Resolved
  • % Done changed from 80 to 100

LGTM

Actions #4

Updated by Peter Štrunc 7 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF