Contact lists for each user

@charleslcso The best way I can think of is as follows…

  1. Create a teams doctype that stores the team name, leader and the list of team members (child table doctype)
  2. Filter the contacts list view using the teams doctype
  3. For further control, in contact form do a check using the teams doctype to prevent unauthorized modification

For the list view filter, you can use the list view settings onload to determine whether the user is a leader or member…

You can also use this plugin of mine since it can help in filtering the list view…

Frappe Better List View

Best regards…

1 Like