-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
删除项目后,无法新建同名项目 #5074
Comments
🤖 你好 @annawhiteyellow,我是Dosu,一个可以帮助你解决问题,回答问题,甚至成为贡献者的机器人。在等待人类维护者的过程中,我会在这里帮助你。很高兴能为你服务! 根据我对Apollo配置管理系统的理解,当一个项目被删除时,与之相关的权限也会被删除。这是通过 以下是相关的代码: /**
* delete permissions when delete app.
*/
void deleteRolePermissionsByAppId(String appId, String operator);
/**
* delete permissions when delete app namespace.
*/
void deleteRolePermissionsByAppIdAndNamespace(String appId, String namespaceName, String operator); 这些方法表明,当一个应用(或项目)被删除时,与之相关的权限也会被删除。然而,这并不一定意味着项目本身被删除,可能只是与之相关的权限被删除。要得到确定的答案,我们需要查看更多的代码库。 关于无法新建同名项目的问题,我没有在Apollo的代码库中找到直接的答案。可能的原因是Apollo在删除项目时,并没有完全清除项目的数据,因此无法创建与已删除项目同名的新项目。这可能是为了防止误删后的数据恢复,或者是为了保持项目名称的唯一性。 如果你需要更详细的解答或者有其他问题,欢迎继续提问。 SourcesThis response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot. |
谢谢,1.9.2版本存在此问题,升级到2.1.0版本后,可以正常删除和新建同名项目 |
删除项目后,项目数据无法彻底清除,同时无法新建同名项目
The text was updated successfully, but these errors were encountered: