Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trim whitespace in CSV input group list #822

Open
adorton-adobe opened this issue Jul 26, 2023 · 0 comments
Open

Trim whitespace in CSV input group list #822

adorton-adobe opened this issue Jul 26, 2023 · 0 comments
Assignees
Labels

Comments

@adorton-adobe
Copy link
Collaborator

Description

When using CSV as an identity source, there is apparently no trimming of whitespace from each group name in the groups column for a given user.

For example, these groups will be read and handled as expected:

"acrobat dc,all apps"

But if there is a space after the comma or some other extra whitespace, there is a negative impact on group matching. For example, in this string, only acrobat_dc will match for the user:

"acrobat dc, all apps"

Steps to reproduce

  • CSV identity source file w/ extra leading or trailing spaces on group names in the groups column

Expected behavior

We should trim the groups in order to ensure they match directory_groups in the group mapping.

Screenshots

n/a

Environment
n/a

@adorton-adobe adorton-adobe self-assigned this Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant