-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Multiple workspaces with the same workspace name #230
Comments
Indeed this is a bug in workspaces list page. We have been thinking about the current allowed permissions for a workspace and currently we have
With that we can them add to the cards a new field, like What you think about that? @tdari |
@vinicvaz Yes permissions can be updated as well like you said. Email can be used instead of a username as you said but I could not imagine how it would look like on the UI. I think this workspace update needs to be devised carefully maybe it is better to fix current obvious bugs first what do you think? |
Agree with you, I'm planning to look again to the database design this week and I will think about workspaces permissions. About other bugs, I found one yesterday you can look if you have availability, is this one: #229 |
Currently, it is not possible to create multiple workspaces with the same name. But through invitation, a user can be in multiple workspaces with the same name. I think it is something that we don't want to happen.
I propose to update the user model to have a field called user_name which derives from the user's email field.
When the user creates a new workspace we add user_name to the beginning of the workspace name. Therefore, a user can no longer have multiple workspaces with the same name because all workspaces are prefixed with the workspace's owner's name. In fact, it is what cloud-based Git repository providers are using.
We can also update the UI to look like this or we can keep the current design and just save with the prefix:
Here is what it will look like after the change,
We also need to update the default workspace creation configuration accordingly.
The text was updated successfully, but these errors were encountered: