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

Deny users to create organization with name that is url incompatible or reserved #674

Closed
sleshchenko opened this issue Sep 1, 2016 · 1 comment

Comments

@sleshchenko
Copy link
Contributor

sleshchenko commented Sep 1, 2016

Organization name should be the same as its organizational account's name. So it will be used to access to workspace in urls like protocol://host/accountName/workspaceName
As result it is need to deny users to create organization with name that is url incompatible or reserved to avoid issues of access to workspaces.

These kind of checks already are implemented for user's name.
https://github.com/codenvy/codenvy/blob/jpa-integration/wsmaster/codenvy-hosted-sso-server-organization/src/main/java/com/codenvy/auth/sso/server/OrgServiceUserValidator.java#L69-71
https://github.com/eclipse/che/blob/jpa-integration/wsmaster/che-core-api-user/src/main/java/org/eclipse/che/api/user/server/UserManager.java#L86-88

@sleshchenko
Copy link
Contributor Author

It depends on eclipse-che/che#2343

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

No branches or pull requests

2 participants