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 35
    • Issues 35
    • 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
  • #6213
Closed
Open
Issue created Jun 02, 2022 by bmortier@bmortierMaintainer

[Objects] - ACL do not take LDAP options into consideration

Description

This issue was seen during a webservice call on supannCMSId and supannCMSAppId attributes. The ACL returns an error.

"message": "Could not find ACL for attribute \"supannCMSAppId;x-koha-xmsb\" for type \"user\"",

Options are no taken into account, removing the options allows the ACL to be checked properly.

Distribution Name and Version

Debian 11

FusionDirectory Version

1.4

Origin of php packages

Depots

Steps to Reproduce

After authentication, a simple get call such as the following reports the issue.

http://localhost/fusiondirectory/rest.php/v1/objects/user/?base=ou%3Dpeople,dc%3Dhome&filter=(uid%3Djonathan)&attrs%5BsupannCMSAppId%3Bx-koha-xmsb%5D=*

Expected behavior:

Following output desired (E.g)

{
	"uid=jonathan,ou=people,dc=home": {
		"supannCMSAppId;x-koha-xmsb": [
			"1"
		]
	}

Actual behavior:

[
	{
		"class": "FusionDirectoryException",
		"message": "Could not find ACL for attribute \"supannCMSAppId;x-koha-xmsb\" for type \"user\"",
		"line": 96,
		"file": "/usr/share/fusiondirectory/include/class_objects.inc"
	}
]

Reproduces how often:

100%

Additional Information

Seems like the following attributes does not report data, to be investigated if related. ``attrs[supannCMSAppId]=*,

Edited Jun 08, 2022 by bmortier
Assignee
Assign to
Time tracking