LuminaWebsite/admin
Maaxxs 592269d300 Permissions per person: grant single permissions to users in addition to their groups
In the user form (admin/user_form.php) a new section "Einzelne Berechtigungen" lists all
permissions, with the group-assign rights (roles.assign.<ID>) shown by group name as in the role
form. It opens by itself when the user already has some. A shield marks what the user already
gets through one of the ticked groups; the tooltip says who granted a permission and when.

- New table user_permissions (user, permission, granted_by, created_at; schema 52, also in
  sql/schema.sql). user_has_permission() now resolves through user_permission_keys() (groups UNION
  direct permissions, falls back to groups only while the table is missing), and
  discord_ids_with_permission() and the raids.manage recipients in bot_api.php include direct
  permissions too.
- New core permission users.permissions: only with it can someone grant or revoke direct
  permissions, and only ones they have themselves (current_user_permission_ids()); others are
  greyed out and ignored on the server even if submitted. Your own direct permissions can only be
  changed by someone else (except developers). Without the right the section is a read-only list.
  On update, groups with roles.manage get users.permissions.
- Saving applies only the changes, so the remaining entries keep who granted them and when.
  Grants and revokes go into the audit log ("Einzelrechte erteilt/entzogen/jetzt").
- User list: "+N Einzelrechte" badge next to the groups (title lists them), searchable; the live
  fingerprint of the page includes user_permissions.
- Data export gets a section "einzelrechte", account deletion removes them, and the privacy
  policy mentions both. Patch notes, README and the roles page intro updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-25 02:20:58 +02:00
..
audit.php Audit log, abuse protection, gallery comments with moderation, safe image uploads, 404 page 2026-09-21 21:57:34 +02:00
discord_sync_action.php Log all administrative website actions to the Discord log channel via the bot API 2026-09-21 19:16:54 +02:00
gear_items.php Skill tooltips with values at the planned level, page background no longer zooms, 150+ members 2026-09-24 01:44:44 +02:00
gear_items_action.php Skill tooltips with values at the planned level, page background no longer zooms, 150+ members 2026-09-24 01:44:44 +02:00
gear_skills.php Skill planner: set pages Ausrüstung / Skills / Stigmen, specializations and stigma bonuses with their effects from the aion2hub build planner 2026-09-23 20:00:11 +02:00
legal.php Impressum and privacy policy, third-party videos and images load only after a click 2026-09-24 16:26:54 +02:00
legal_action.php Impressum and privacy policy, third-party videos and images load only after a click 2026-09-24 16:26:54 +02:00
reset.php Member feedback: raid input checks and fixed raid points, premades in the raid form, live raid page, Lumina-style dialogs, leadership calendar entries, class-based weapon picker, map and tactics fixes 2026-09-23 16:12:18 +02:00
reset_action.php Developer page to reset test data by area (points, shop, warehouse, gallery, wiki, audit log, ...) 2026-09-22 08:33:38 +02:00
role_delete.php Log all administrative website actions to the Discord log channel via the bot API 2026-09-21 19:16:54 +02:00
role_form.php Group tags: optional gradient background like Discord, rank view hides the tags of all groups that have a member list order 2026-09-23 17:55:33 +02:00
roles.php Permissions per person: grant single permissions to users in addition to their groups 2026-09-25 02:20:58 +02:00
settings_action.php Calendar: raids and events as a monthly view plus member entries with "I'm in" 2026-09-21 22:26:17 +02:00
site.php Member feedback: raid input checks and fixed raid points, premades in the raid form, live raid page, Lumina-style dialogs, leadership calendar entries, class-based weapon picker, map and tactics fixes 2026-09-23 16:12:18 +02:00
site_action.php Announcements: option to hide the author name on the banner (still recorded in the audit log) 2026-09-22 18:06:42 +02:00
user_approve.php Log all administrative website actions to the Discord log channel via the bot API 2026-09-21 19:16:54 +02:00
user_delete.php Impressum and privacy policy, third-party videos and images load only after a click 2026-09-24 16:26:54 +02:00
user_export.php Account deletion also anonymizes the member at the Discord bot, runs after the response 2026-09-24 17:10:27 +02:00
user_export_action.php Data export and account deletion (anonymization) with a grace period 2026-09-24 17:02:42 +02:00
user_form.php Permissions per person: grant single permissions to users in addition to their groups 2026-09-25 02:20:58 +02:00
user_security.php Audit log, abuse protection, gallery comments with moderation, safe image uploads, 404 page 2026-09-21 21:57:34 +02:00
users.php Permissions per person: grant single permissions to users in addition to their groups 2026-09-25 02:20:58 +02:00