uvdesk / community-skeleton

UVdesk Opensource Community Helpdesk Project built for all to make a Full Ticketing Support System along with many more other features.
https://www.uvdesk.com
MIT License
8.25k stars 456 forks source link

Is there a way I could hid the menu links and dashboard links. #406

Closed akhileshkcoder closed 3 years ago

akhileshkcoder commented 3 years ago

I know we can set the privileges for the Agent and hide the items for the Agent role. But I want the items to be hidden for the Administrator role as well. Is there a way I could do it through the code? I want to hide the Apps menu link.

image

papnoisanjeev commented 3 years ago

@akhileshkcoder

No, Admin and super admin can see everything in helpdesk. You can not currently restrict only apps part for this as admin as for this many part of project flow need to update.

akhileshkcoder commented 3 years ago

Okay. Thank you. I just edited the core files uvdesk-community\vendor\uvdesk\core-framework\Dashboard\Dashboard.php and uvdesk-community\vendor\uvdesk\core-framework\Dashboard\NavigationTemplate.php and removed the links from menu and dashboard.

papnoisanjeev commented 3 years ago

@akhileshkcoder Ok, But you will not able to see from super admin or some other agents if you will remove links from there.

ricoarliyanto commented 8 months ago

Okay. Thank you. I just edited the core files uvdesk-community\vendor\uvdesk\core-framework\Dashboard\Dashboard.php and uvdesk-community\vendor\uvdesk\core-framework\Dashboard\NavigationTemplate.php and removed the links from menu and dashboard.

can you give me the source code of the files that you edited? or give me advice abaout it sir