mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-08 03:09:33 +00:00
Removed field permissions from Part edit page
This commit is contained in:
parent
fc1af24ef9
commit
5e06557cf0
12 changed files with 29 additions and 87 deletions
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
<tr>
|
||||
<td>{% trans %}user.creating_user{% endtrans %}</td>
|
||||
<td>{% if is_granted('show_users', part) %}
|
||||
<td>{% if is_granted('show_history', part) %}
|
||||
{{ creating_user(part).fullName(true) ?? 'Unknown'|trans }}
|
||||
{% else %}
|
||||
{% trans %}accessDenied{% endtrans %}
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
<tr>
|
||||
<td>{% trans %}user.last_editing_user{% endtrans %}</td>
|
||||
<td>{% if is_granted('show_users', part) %}
|
||||
<td>{% if is_granted('show_history', part) %}
|
||||
{{ last_editing_user(part).fullName(true) ?? 'Unknown'|trans }}
|
||||
{% else %}
|
||||
{% trans %}accessDenied{% endtrans %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue