apache / apache/cloudstack

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

Đang mở
#8,523 7 bình luận 0 reaction 0 người được giao Xem trên GitHub
component:api component:UI no-issue-activity status:needs-functional-definition type:enhancement type:improvement type:security
Ngôn ngữ chính
Java
Star
3.1k
Fork
1.4k
Merge trung bình
6 ngày 19 giờ
Pull request đã merge (30 ngày)
32

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Issue nêu việc tạo người dùng qua API/UI là điểm bắt đầu nhưng không cung cấp các tệp triển khai hoặc bài kiểm thử. Hãy lần theo quá trình tạo người dùng trong một domain, sau đó thêm một bài kiểm thử hồi quy cho thấy email trùng lặp bị từ chối trong cùng domain, đồng thời vẫn xác minh hành vi mong đợi.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
java
Lĩnh vực
api, authentication
Loại issue
Tính năng
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
55/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.