Add a permission overview page for individual users

Đang mở
#6,702 0 bình luận 3 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
48/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
php
Lĩnh vực
authorization

Hướng nghiên cứu

Start by reading the existing user management context menu and group permission pages to find how permissions are listed and how UserGroupOptionForm handles edits. The issue does not name specific files or tests, so trace those entry points before estimating the change. Done means a user page shows effective permission values and their source groups, supports editing, and offers search filtering.

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

Mô tả

Currently there is no easy way to see which permissions a specific user effectively has. Permissions are assigned through user groups, so answering the question "why can/can't this user do X?" requires manually checking every group the user belongs to and mentally resolving the resulting values. This is tedious and error-prone.

This feature adds a dedicated page that lists all permissions of a single user together with their effective values and the groups those values originate from.

Proposed solution
  • Add a new entry to the context menu of a user in the user management (ACP). Selecting it opens the new permission overview page for that user.
  • The page lists all permissions of the selected user, grouped into tabs and sub-tabs (mirroring the existing category structure used for group permissions).
  • For each permission the following is displayed: Name of the permission, description of the permission, the value currently active for this user, the user group(s) the effective value is derived from.
  • It should be possible to edit permissions directly from this page. A dialog similar to UserGroupOptionForm would be a reasonable approach, so the existing form field types and validation logic can be reused.
  • It would also be helpful to have the option to filter the list by a search term.
Ngôn ngữ chính
PHP
Star
248
Fork
147
Merge trung bình
17 phút
Pull request đã merge (30 ngày)
21

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của WoltLab/WCF

Tất cả issue của WoltLab/WCF

Issue tương tự

Thêm issue về PHP

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.