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

Feature: Remove spaces in group names that come from Entra #681

Open
2 tasks done
augustmultiply opened this issue Dec 6, 2024 · 3 comments
Open
2 tasks done

Feature: Remove spaces in group names that come from Entra #681

augustmultiply opened this issue Dec 6, 2024 · 3 comments

Comments

@augustmultiply
Copy link

augustmultiply commented Dec 6, 2024

Is there an existing request for this feature?

  • I have searched the existing issues and found none that matched mine

Describe the feature

When using authd with Microsoft Entra ID, group names containing spaces are harder to work with in Linux terminals.
A good solution would be to automatically replace spaces (" ") with dashes ("-") in group names retrieved from Entra.

Example: My Group Name → my-group-name

Also to provide backwards compatibility, configuration option could be added in authd.yaml to enable or disable this transformation (e.g., transform_group_names = true).

Describe the ideal solution

No response

Alternatives and current workarounds

No response

System information and logs

No response

Relevant information

No response

Double check your logs

  • I have redacted any sensitive information from the logs
@augustmultiply
Copy link
Author

I hope you're doing well! I wanted to follow up on this issue and kindly request an update on its progress. Is there any timeline or additional information you could share regarding its resolution?

Thank you for your efforts and support!

@adombeck
Copy link
Contributor

Hi, sorry for the late reply.

A good solution would be to automatically replace spaces (" ") with dashes ("-") in group names retrieved from Entra.

The problem I see with this is that it would map different Entra groups to the same group: The Entra groups "My Group Name" and "my-group-name" would both be mapped to the "my-group-name" system group.

@3v1n0
Copy link
Collaborator

3v1n0 commented Dec 21, 2024

An option would be to add some crc-like suffix to groups that have been renamed, so that they're always different. Or given that there's no risk of duplication just add a suffix and consider that suffix as "protected" for the groups that are synchronized otherwise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants