View user skrg ni bgi semua orang tgk sape yg guna app ni, which is weird and might cos privacy problem. Take instagram for example, i dont think we (as user) can see table of users who have ever use this app. So some changes needed about the view_user page functionality.
Some of the changes is:
Supplier only can see agent under his ID, other agent not under his id shouldnt be there
Supplier also cannot see other suppliers who uses this app.
Supplier can add agent in the page
Agent can only see agent under his supplier ID
Add agent button should be hidden from agent
email and phone number should be hidden from agent
View user skrg ni bgi semua orang tgk sape yg guna app ni, which is weird and might cos privacy problem. Take instagram for example, i dont think we (as user) can see table of users who have ever use this app. So some changes needed about the view_user page functionality.
Some of the changes is:
Supplier only can see agent under his ID, other agent not under his id shouldnt be there
Supplier also cannot see other suppliers who uses this app.
Supplier can add agent in the page
Agent can only see agent under his supplier ID
Add agent button should be hidden from agent
email and phone number should be hidden from agent
lemme know if u disagree with this changes