Reduced privileges for human users until elevation requested
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 38/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- go, kubernetes, postgresql
- Lĩnh vực
- databases, infrastructure, security
Hướng nghiên cứu
Bắt đầu tại pkg/cluster/cluster.go, ở initPreparedDatabaseRoles, và theo dõi cách defaultRoles, defaultUsers, team_admin_role và enable_admin_role_for_users ảnh hưởng đến các vai trò cơ sở dữ liệu được chuẩn bị. So sánh việc triển khai với hành vi nâng quyền được ghi trong tài liệu và xác định xem vai trò quản trị viên được hardcode có phải là chủ ý hay không; được xem là hoàn tất khi hành vi dự kiến đọc trước và tự nâng quyền đã được làm rõ hoặc sửa chữa.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Please, answer some short questions which should help us to understand your problem / question better?
- Which image of the operator are you using? ghcr.io/zalando/postgres-operator:v1.14.0
- Where do you run it - cloud or metal? Kubernetes or OpenShift? GCP
- Are you running Postgres Operator in production? On an experimental basis
- Type of issue? Bug report / discussion
We are setting up access for human users to our databases, using the Teams API to create users.
We were looking for a way to make it so that human users have only read access when first connecting to the database, but can use GRANT ROLE or SET ROLE to give themselves more access if needed.
We use the defaultRoles/defaultUsers on preparedDatabases, so by default the human users are given admin, which has access to owner-roles, given them full access to everything.
Looking at the documentation, we thought maybe setting team_admin_role to the reader role would give us what we needed, but then they can't elevate themselves. Our understanding of the enable_admin_role_for_users was that this should be possible, but it doesn't seem to work that way.
Is what we want to do possible somehow?
Is our understanding of enable_admin_role_for_users wrong, or is there a bug when that option is used for the defaultRoles created for preparedDatabases?
We are wondering if the hardcoding of admin in initPreparedDatabaseRoles is a bug, or intentional?
- Ngôn ngữ chính
- Go
- Star
- 5.3k
- Fork
- 1.1k
- Merge trung bình
- 3 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 11
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của zalando/postgres-operator
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
zalando/postgres-operator#3257 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
zalando/postgres-operator#3254 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
zalando/postgres-operator#3253 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
zalando/postgres-operator#3252 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
zalando/postgres-operator#3182 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của zalando/postgres-operator
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[inputs.internal] README lists go_version tag on internal_gather instead of internal_agentCó thể đã có người làm @cvas22 đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
influxdata/telegraf#20264 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] Standalone migration breaks existing Ingress routes using the envoy-http Service port nameĐang mởaccepted bug wg/enterprise-environment
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
vllm-project/semantic-router#7483 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
stacklok/toolhive-catalog#2076 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
vulncheck or vulndb
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
golang/go#83428 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày