fix: only show users to manager
(cherry picked from commit 22856351fd9613f654df319f1714aafc5c4f626f)
This commit is contained in:
parent
0520df04d0
commit
de7cf372e7
@ -72,7 +72,7 @@
|
|||||||
"image_field": "image",
|
"image_field": "image",
|
||||||
"index_web_pages_for_search": 1,
|
"index_web_pages_for_search": 1,
|
||||||
"links": [],
|
"links": [],
|
||||||
"modified": "2025-06-17 12:08:16.616216",
|
"modified": "2025-06-17 23:17:19.996659",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "FCRM",
|
"module": "FCRM",
|
||||||
"name": "CRM User",
|
"name": "CRM User",
|
||||||
@ -90,6 +90,18 @@
|
|||||||
"role": "System Manager",
|
"role": "System Manager",
|
||||||
"share": 1,
|
"share": 1,
|
||||||
"write": 1
|
"write": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"create": 1,
|
||||||
|
"delete": 1,
|
||||||
|
"email": 1,
|
||||||
|
"export": 1,
|
||||||
|
"print": 1,
|
||||||
|
"read": 1,
|
||||||
|
"report": 1,
|
||||||
|
"role": "Sales Manager",
|
||||||
|
"share": 1,
|
||||||
|
"write": 1
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"row_format": "Dynamic",
|
"row_format": "Dynamic",
|
||||||
|
|||||||
@ -93,6 +93,7 @@ const tabs = computed(() => {
|
|||||||
label: __('Users'),
|
label: __('Users'),
|
||||||
icon: 'user',
|
icon: 'user',
|
||||||
component: markRaw(Users),
|
component: markRaw(Users),
|
||||||
|
condition: () => isManager(),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: __('Invite User'),
|
label: __('Invite User'),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user