Compare commits

..

1 commit

Author SHA1 Message Date
6e13a3aa34
Docs: note User-Member Linking enforcement in code
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/promote/production Build is failing
- update_user restricted via ActorIsAdmin; Form gates Member-Linking UI
2026-01-30 11:28:41 +01:00
2 changed files with 1 additions and 4 deletions

View file

@ -120,7 +120,6 @@ defmodule Mv.Authorization.PermissionSets do
pages: [
# No "/" - Mitglied must not see member index at root (same content as /members).
# Own profile (sidebar links to /users/:id) and own user edit
"/profile",
"/users/:id",
"/users/:id/edit",
"/users/:id/show/edit",
@ -156,7 +155,6 @@ defmodule Mv.Authorization.PermissionSets do
pages: [
"/",
# Own profile (sidebar links to /users/:id; redirect target must be allowed)
"/profile",
"/users/:id",
"/users/:id/edit",
"/users/:id/show/edit",
@ -206,7 +204,6 @@ defmodule Mv.Authorization.PermissionSets do
pages: [
"/",
# Own profile (sidebar links to /users/:id; redirect target must be allowed)
"/profile",
"/users/:id",
"/users/:id/edit",
"/users/:id/show/edit",

View file

@ -95,7 +95,7 @@ defmodule MvWeb.UserLive.Form do
</ul>
</div>
<%= if @user do %>
<%= if @user && @can_manage_member_linking do %>
<div class="p-3 mt-3 border border-orange-200 rounded bg-orange-50">
<p class="text-sm text-orange-800">
<strong>{gettext("Admin Note")}:</strong> {gettext(