dolibarr icon indicating copy to clipboard operation
dolibarr copied to clipboard

Dolibarr cannot handle nested groups from ActiveDirectory

Open spirritus opened this issue 3 years ago • 1 comments

Bug

With active directory it is possible, and widely used, to nest groups, e.g. there are three groups, A, B and C. A contains B and B contains C. Users are listed in C. When groups are imported with sync_groups_ldap2dolibarr.php and memberships are resolved this recursion has to be traversed. Currently the group A is just empty. This is wrong behaviour.

Environment

  • Version: tested with 14
  • OS: debian 10
  • Web server: nginx
  • PHP: 7.3.29
  • Database: postgres

Expected and actual behavior

Als transitive groups are resolved for user group membership of nested groups.

Steps to reproduce the behavior

See above.

spirritus avatar Jul 30 '21 10:07 spirritus

Agreed

atm-maxime avatar Aug 01 '22 15:08 atm-maxime

This issue is stale because it has been open 1 year with no activity. If this is a bug, please comment to confirm it is still present on latest stable version. if this is a feature request, please comment to notify the request is still relevant and not yet covered by latest stable version. This issue may be closed automatically by stale bot in 10 days (you should still be able to re-open it if required).

github-actions[bot] avatar Aug 01 '23 21:08 github-actions[bot]