apache / apache/cloudstack

Don't allow the creation of user with same Email id in the same domain

未关闭
#8,523 7 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
component:api component:UI no-issue-activity status:needs-functional-definition type:enhancement type:improvement type:security
主要语言
Java
星标
3.1k
派生
1.4k
平均合并
6 天 19 小时
30 天内合并 PR
32

描述

ISSUE TYPE

Enhancement/Improvement Request

COMPONENT NAME

Component: API/ UI

CLOUDSTACK VERSION

Cloudstack version 4.18

SUMMARY

Don't allow the creation of user with same Email id in the same domain

Steps to reproduce the issue

1. Navigate to domain > Accounts > Click on a particular Account > Create say user1 with (test@gmail.com)

2. Navigate to domain >Accounts > Click on a particular Account > Create say user2 with (test@gmail.com)

Screenshot

Screenshot 2024-01-17 at 12 32 25 PM

**Expected behaviour**

Cloudstack should not allow to create the user with same Email address in the same domain

If a oauth is configured for a user in a cloudstack , email address is used as key to identify.

Cloudstack throws an error saying there is an already multiple user having the same email address in the same domain.

It would be proactive checking if we could block the creation of user with same email address during the user creation

贡献指南

打开贡献指南

调研方向

该 issue 将通过 API/UI 创建用户列为入口点,但未提供实现文件或测试。跟踪 domain 内的用户创建流程,然后添加一个回归测试,展示同一 domain 中的重复 email 会被拒绝,同时继续验证预期行为。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
api, authentication
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。