Add a permission overview page for individual users

オープン
#6,702 コメント 0 件 リアクション 3 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
php
領域
authorization

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.
主要言語
PHP
スター
248
フォーク
147
平均マージ
17分
マージ済み PR(30日)
21

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

WoltLab/WCF のほかの issue

WoltLab/WCF の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。