Avoid logging invalidLdapEntityReturned
error when entity has insufficient authorizations
#4293
Labels
potential:7.21.4
scope:ldap
DRI: Tobias
type:bug
Issues that describe a user-facing bug in the project.
version:7.22.0
Environment (Required on creation)
Camunda 7.20+ & LDAP plugin
Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket)
LDAP error are logged on loading WebApps welcome page with misleading text
LDAP group query returned a group with id null
as the group is returned correctly but doesn't have Camunda authorizations instead.Steps to reproduce (Required on creation)
Observed Behavior (Required on creation)
The following error is logged for each of the user’s groups:
Expected behavior (Required on creation)
No error is logged
Root Cause (Required on prioritization)
invalidLdapEntityReturned
error (link) is thrown when a group is not authorized (link and link) even though the LDAP group query returns correct the groups.The same misleading error can be thrown for a user entity too.
Solution Ideas
Hints
Links
Breakdown
Pull Requests
Dev2QA handover
The text was updated successfully, but these errors were encountered: