fix: only show users to manager

This commit is contained in:
Shariq Ansari 2025-06-17 23:22:44 +05:30
parent dd1229309f
commit 22856351fd
2 changed files with 14 additions and 1 deletions

View File

@ -72,7 +72,7 @@
"image_field": "image",
"index_web_pages_for_search": 1,
"links": [],
"modified": "2025-06-17 12:08:16.616216",
"modified": "2025-06-17 23:17:19.996659",
"modified_by": "Administrator",
"module": "FCRM",
"name": "CRM User",
@ -90,6 +90,18 @@
"role": "System Manager",
"share": 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",

View File

@ -93,6 +93,7 @@ const tabs = computed(() => {
label: __('Users'),
icon: 'user',
component: markRaw(Users),
condition: () => isManager(),
},
{
label: __('Invite User'),