mbucan
(Mladen Bucan)
June 24, 2022, 2:31pm
#1
Behavior
bproc_user_group.type_ “r” or “u” determine if the group is containing users or roles.
(It can’t use both?) When you edit a group and switch from Users type to Roles, users will be deleted from the database table. Would be nice that Type selector would have onchange handler prompting confirmation to delete previous entries.
Either or usage, should be bold or highlighted, and deletion should be documented
https://doc.cuba-platform.com/bproc-1.1/?_ga=2.173119712.297309943.1655672010-1254557518.1642605680#user-groups
and
https://docs.jmix.io/jmix/bpm/user-groups.html
Bug
When changing type back to Users from Roles, a role will disappear from the management edit screen, but will not be deleted in the database. When you add the same role again, it will be duplicated.
BProc 1.2.1
CUBA 7.2.19
PostgreSQL 12
gorbunkov
(Maxim Gorbunkov)
July 1, 2022, 10:27am
#4
Hi,
User group can’t contain roles and users at the same time.
As for problems, I’ve created issues:
opened 10:20AM - 01 Jul 22 UTC
closed 10:58AM - 12 Jul 22 UTC
type: bug
size: S
in: bpm
Jmix 1.3.0
* Create new User Group
* Add a role
* Change group type to User… s
* Change the group type back to roles
* Save the user group
* Open the user group
AR: you'll get the user group with duplicated user role
![Screenshot 2022-07-01 at 14 18 06](https://user-images.githubusercontent.com/7888486/176876249-1aaf1c51-0f1a-408a-9c5d-8e5be2589e68.png)
This bug must be fixed in CUBA BProc as well.
Forum: https://forum.cuba-platform.com/t/bproc-user-groups-management-screen-bug-and-behavior/16371
opened 10:23AM - 01 Jul 22 UTC
closed 11:16AM - 12 Sep 22 UTC
size: S
in: bpm
In the user group editor, when group type is changed from User or Roles to somet… hing else and some roles or users have been already added, the confirmation saying that current users or roles will be cleared must be displayed. If no users or roles are selected then no confirmation should de displayed.
Forum: https://forum.cuba-platform.com/t/bproc-user-groups-management-screen-bug-and-behavior/16371
Thanks for pointing out the problems.
1 Like