Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • fusiondirectory fusiondirectory
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 33
    • Issues 33
    • List
    • Boards
    • Service Desk
    • Milestones
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • fusiondirectoryfusiondirectory
  • fusiondirectoryfusiondirectory
  • Issues
  • #5809
Closed
Open
Issue created Apr 03, 2018 by bmortier@bmortierMaintainer

Small weirdness in foreignKey handling

Description

While working on #5799 I saw that there are some small weird things in foreignKey handling which might slow things down a bit

First one is some object types appear both as uppercase and lowercase in the $foreignRefs temp array instead of appearing only once (should be easy to fix).

Second one is that ACL assignment foreign keys appear both as from ACL assignment object type and each departement object type, which duplicate the LDAP search (harder to fix, might need a hardcoded special case for this tab).

FusionDirectory Version

1.3-dev

Steps to Reproduce

  1. Add a debug dump for $foreignKey temp array
  2. Go to the references tab of a user
  3. Look at the dump

Expected behavior:

Clean well-organized array

Actual behavior:

Some duplicated info and mixed upper/lower case for object types

Assignee
Assign to
Time tracking