Add a permission overview page for individual users

Abierto
#6,702 0 comentarios 3 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
48/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
php

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.
Lenguaje dominante
PHP
Estrellas
248
Forks
147
Merge medio
17 min
PR fusionados (30 d)
21

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de WoltLab/WCF

Todos los issues de WoltLab/WCF

Issues similares

Más issues de PHP

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.