Compare commits
1 commit
6e13a3aa34
...
f0134f00ee
| Author | SHA1 | Date | |
|---|---|---|---|
| f0134f00ee |
2 changed files with 4 additions and 1 deletions
|
|
@ -120,6 +120,7 @@ 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",
|
||||
|
|
@ -155,6 +156,7 @@ 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",
|
||||
|
|
@ -204,6 +206,7 @@ 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",
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ defmodule MvWeb.UserLive.Form do
|
|||
</ul>
|
||||
</div>
|
||||
|
||||
<%= if @user && @can_manage_member_linking do %>
|
||||
<%= if @user 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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue