fix: add "If Owner" column to roles viewer (#25218)
This commit is contained in:
parent
7a854efc03
commit
bfb1c3e7e1
1 changed files with 2 additions and 0 deletions
|
|
@ -69,6 +69,7 @@ frappe.RoleEditor = class {
|
|||
<tr>
|
||||
<th> ${__("Document Type")} </th>
|
||||
<th> ${__("Level")} </th>
|
||||
<th> ${__("If Owner")} </th>
|
||||
${frappe.perm.rights.map((p) => `<th> ${__(frappe.unscrub(p))}</th>`).join("")}
|
||||
</tr>
|
||||
</thead>
|
||||
|
|
@ -80,6 +81,7 @@ frappe.RoleEditor = class {
|
|||
<tr>
|
||||
<td>${__(perm.parent)}</td>
|
||||
<td>${perm.permlevel}</td>
|
||||
<td>${perm.if_owner ? frappe.utils.icon("check", "xs") : "-"}</td>
|
||||
${frappe.perm.rights
|
||||
.map(
|
||||
(p) =>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue