[ZBX-22553] Can't clear the "Deprovisioned users group" field after disabling LDAP and SAML authentication Created: 2023 Mar 20  Updated: 2024 Apr 10  Resolved: 2023 Apr 17

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A), Frontend (F)
Affects Version/s: 6.4.1rc1, 7.0.0alpha1
Fix Version/s: 6.4.2rc1, 7.0.0alpha1, 7.0 (plan)

Type: Problem report Priority: Trivial
Reporter: Janis Nulle Assignee: Miks Kronkalns
Resolution: Fixed Votes: 0
Labels: Frontend, LDAP, SAML, authentication
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Sub-task
depends on ZBX-22208 Disabled checkboxes are clickable in ... Closed
Team: Team B
Sprint: Sprint 98 (Mar 2023), Sprint 99 (Apr 2023)
Story Points: 1

 Description   

Steps to reproduce:

Note: This needs ZBX-22208 to be merged, as currently when disabling LDAP and SAML all fields are cleared and this can not be reproduced.

  1. Go to Users->Authentication;
  2. Enable LDAP or SAML authentication, set "Enable JIT provisioning" to TRUE (fill out any mandatory fields);
  3. In the Authentication tab also set a "Deprovisioned users group" and then Update to save the settings;
  4. Now disable LDAP and SAML authentication and press Update;
  5. In the Authentication tab clear the "Deprovisioned users group" field;
  6. Press Update.

Result:
Validation error claiming that this field is mandatory, even when LDAP and SAML authentication is disabled. Also if you go to the LDAP or SAML settings tab, all the values are cleared.

Expected:
The field "Deprovisioned users group" can be cleared when LDAP and SAML authentication is disabled. The values for LDAP and SAML are not cleared when doing so.



 Comments   
Comment by Miks Kronkalns [ 2023 Mar 24 ]

Fixed in development branch feature/ZBX-22553-6.4.

Comment by Miks Kronkalns [ 2023 Apr 04 ]

Fixed in:

Generated at Sun May 18 08:08:47 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.