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

fix(groups): allows to save group names with more than 64 characters #44763

Merged
merged 1 commit into from
May 16, 2024

Conversation

Altahrim
Copy link
Collaborator

@Altahrim Altahrim commented Apr 10, 2024

Summary

Mimic behaviour from LDAP users and add a hard limit to 255 characters

Checklist

@Altahrim Altahrim added bug 3. to review Waiting for reviews php Pull requests that update Php code labels Apr 10, 2024
@Altahrim Altahrim added this to the Nextcloud 30 milestone Apr 10, 2024
@Altahrim Altahrim requested a review from a team April 10, 2024 09:31
@Altahrim Altahrim self-assigned this Apr 10, 2024
@Altahrim Altahrim requested review from icewind1991, yemkareems, sorbaugh and come-nc and removed request for a team April 10, 2024 09:31
@Altahrim
Copy link
Collaborator Author

/backport to stable29

@Altahrim
Copy link
Collaborator Author

/backport to stable28

@Altahrim
Copy link
Collaborator Author

/backport to stable27

@Altahrim Altahrim marked this pull request as ready for review April 10, 2024 11:55
@Altahrim Altahrim force-pushed the fix/group_name_length_db branch 3 times, most recently from 89a8d06 to e787b14 Compare April 16, 2024 13:02
@sorbaugh sorbaugh mentioned this pull request Apr 17, 2024
9 tasks
Mimic behaviour from LDAP users and add a hard limit to 255 characters

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Copy link
Contributor

@come-nc come-nc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I would prefer string|false instead of ?string, or string and exception throwing. I did not check what is most consistent with the rest of OCP though.

@Altahrim Altahrim merged commit e630e4b into master May 16, 2024
158 checks passed
@Altahrim Altahrim deleted the fix/group_name_length_db branch May 16, 2024 12:22
@Altahrim
Copy link
Collaborator Author

/backport to stable29

@Altahrim
Copy link
Collaborator Author

/backport to stable28

@Altahrim
Copy link
Collaborator Author

/backport to stable27

@@ -27,6 +27,7 @@

/**
* @since 14.0.0
* @deprecated 30.0.0 Use ICreateNamedGroupBackend instead
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug pending documentation This pull request needs an associated documentation update php Pull requests that update Php code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants