Enable strict authorization configuration by default in 3.1
Maintainer thường phản hồi trong vòng 1 ngà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
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- java
- Lĩnh vực
- authorization, documentation
Hướng nghiên cứu
Read the authorization configuration and WildcardPermission code that consume shiro.authz.strictConfig, then inspect the authorization, permissions, web, and migration guides named in the issue. Check the existing 3.0.2 default and how the property is read before changing the 3.1 default. Done means the absent property enables both strict checks in 3.1, the explicit false opt-out remains available, 3.0.2 is unchanged, and all four guides explain the change; a linked pull request is already open.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Make strict authorization configuration the default in Shiro 3.1.
The shiro.authz.strictConfig system property, introduced as an opt-in in 3.0.2, currently defaults to false. It controls two checks through one shared policy:
- Empty authorization filter configurations and empty
@RequiresPermissions/@RequiresRolesvalues are rejected at startup. - Empty or blank
WildcardPermissionparts and subparts, including trailing separators, are rejected.
For 3.1 the default should be true when the property is absent. -Dshiro.authz.strictConfig=false remains the opt-out for legacy behavior. The 3.0.2 default is unchanged.
The authorization, permissions and web guides and the migration guide on the site should explain the change and the opt-out.
- Ngôn ngữ chính
- Java
- Star
- 4.5k
- Fork
- 2.3k
- Merge trung bình
- 1 ngày 5 phút
- Pull request đã merge (30 ngày)
- 27
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 apache/shiro
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] PathMatchingFilterChainResolver.setPathMatcher() does not reach PathMatchingFiltersCó thể đã có người làm @4n86rakam1 đã nhận hôm nay. Đang mở
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 38/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] Jakarta EE: secure-session-cookie.disabled is ignored in Faces Production modeCó thể đã có người làm @AndrewG10i đã nhận 5 ngày trước. Đang mởjava valid
apache/shiro#2962 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
help-wanted java valid
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
Maintainer thường phản hồi trong vòng 1 ngày
-
valid
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
apache/shiro#2325 · 10 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
needs-area-label
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Handle TSP error code 212Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
-
bug module: hybrid priority: high
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
bancolombia/bin-stash#92 ·
-
Pub/Sub nackSplit drops other splits' empty checkpoint entries and lowers pendingCheckpointsĐang mởbug module:pubsub priority:P3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
flink-gcp/flink-connector-gcp#2325 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
eclipse-dirigible/dirigible#8877 ·
Maintainer thường phản hồi trong vòng 1 ngày