Add a permission overview page for individual users

Aperta
#6,702 0 commenti 3 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
php
Ambito
authorization

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
Lingua principale
PHP
Stelle
248
Fork
147
Merge medio
17m
PR unite (30g)
21

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di WoltLab/WCF

Tutte le issue di WoltLab/WCF

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.