Kundan Kumar Jha created RANGER-4092:
----------------------------------------
Summary: [Ranger UI] [React JS] Showing multiple msg prompts for
multiple user visibility toggle with same msg.
Key: RANGER-4092
URL: https://issues.apache.org/jira/browse/RANGER-4092
Project: Ranger
Issue Type: Bug
Components: Ranger
Reporter: Kundan Kumar Jha
Behaviour in React UI:
Showing multiple success/failure msg prompts for multiple user visibility
toggle with same msg.
Behaviour in Backbone JS UI:
Shows a dialog box once with users already visible or already hidden if all the
selected users are in the state which it was supposed to acquire.
Expected behaviour:
Either it shows the combine one status that user is already hidden or visible
as in already present UI.
Or
If shows individual popups then show with name for eg. "Selected user
\{user_name} is already hidden or visible" instead of just showing "Selected
user is already hidden or visible".
Steps to reproduce:
# Create 4 users user_1, user_2, user_3, user_4 in ranger.
# Then in users table of users page in ranger UI select those 4 users.
# Then from set visibility dropdown select visible.
# 4 popups can be seen in the right side of page with same msg as "Selected
user is already visible". And none of the popup contains the name of the user
to which it was concerned to.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)