Skip to content

Remove unnecessary group name validation in provisioning_api - #20961

Merged
DeepDiver1975 merged 3 commits into
masterfrom
provis-api-group-special-char
Jan 8, 2016
Merged

Remove unnecessary group name validation in provisioning_api#20961
DeepDiver1975 merged 3 commits into
masterfrom
provis-api-group-special-char

Conversation

@tomneedham

Copy link
Copy Markdown
Contributor

Fixes #20817 by removing the unnecessary group name validation that is not present elsewhere in ownCloud - allows the full range of characters.

WIP as I need to fix my env so I can check the tests.

@tomneedham tomneedham added this to the 9.0-current milestone Dec 4, 2015
@mention-bot

Copy link
Copy Markdown

By analyzing the blame information on this pull request, we identified @LukasReschke, @rullzer and @owncloud-bot to be potential reviewers

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Lame stuff compared to #10935 😜

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Now that's what I was looking for!

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I guess this is simple enough. We just need to make sure proper tests are run on the group manager.

@rullzer
rullzer force-pushed the provis-api-group-special-char branch from 1f8a0b1 to cfb8ec5 Compare December 23, 2015 07:32
@rullzer

rullzer commented Dec 23, 2015

Copy link
Copy Markdown
Contributor

Rebased and fixed the unit test (trivial).
Good to go from my POV

CC: @PVince81 @MorrisJobke @nickvergessen @LukasReschke

@rullzer
rullzer force-pushed the provis-api-group-special-char branch from cfb8ec5 to b4e9478 Compare December 23, 2015 14:27
@rullzer rullzer changed the title [WIP] Remove unnecessary group name validation in provisioning_api Remove unnecessary group name validation in provisioning_api Dec 23, 2015
Comment thread apps/provisioning_api/lib/groups.php Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

update the error message ?

@MorrisJobke

Copy link
Copy Markdown
Contributor

👍

@MorrisJobke
MorrisJobke force-pushed the provis-api-group-special-char branch from 3275974 to 3327857 Compare January 8, 2016 12:35
@MorrisJobke

Copy link
Copy Markdown
Contributor

I rebased on a more recent commit to trigger the tests again ;)

@SergioBertolinSG

Copy link
Copy Markdown
Contributor

👍 Works fine.

Just a question, no character has to be forbidden in group names?

DeepDiver1975 added a commit that referenced this pull request Jan 8, 2016
Remove unnecessary group name validation in provisioning_api
@DeepDiver1975
DeepDiver1975 merged commit ea227aa into master Jan 8, 2016
@DeepDiver1975
DeepDiver1975 deleted the provis-api-group-special-char branch January 8, 2016 19:11
@rullzer

rullzer commented Jan 8, 2016

Copy link
Copy Markdown
Contributor

@SergioBertolinSG that part should be handled in the GroupManager... so if chars are forbidden they should be forbidding in all code paths.

@SergioBertolinSG

Copy link
Copy Markdown
Contributor

This needs to be backported to stable8.2.

@PVince81

Copy link
Copy Markdown
Contributor

"needs" as in: for API consistency but also to make integration tests pass there

@lock

lock Bot commented Aug 5, 2019

Copy link
Copy Markdown

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock Bot locked as resolved and limited conversation to collaborators Aug 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UTF-8 support different on User Provisioning API function calls

7 participants