func (VS *Server) showUsers(c *gin.Context) {
	users := VS.getAllUsersDependingRole(c, "h_data", "showUsers", "users = VS.getAllUsersFromLocalVillage")
	uHTML := VS.usersToHTML(c, users)
	JSON, err := json.Marshal(uHTML)
	VS.checkOperation(c, "h_date", "showUsers", "JSON, err := json.Marshal(uHTML)", err)
	render(c, gin.H{
		"JSON":  string(JSON),
		"users": users,
	}, "all-users.html")
}
/*************************  USERS  *************************/
// This handler shows the all the users of the system if the user is Admin, or all the user of the village if the user is Manager
USERS
This handler shows the all the users of the system if the user is Admin, or all the user of the village if the user is Manager
/ ************************* USERS ************************* / // This handler shows the all the users of the system if the user is Admin or all the user of the village if the user is Manager
func (VS *Server) showUsers(c *gin.Context) {
	users := VS.getAllUsersDependingRole(c, "h_data", "showUsers", "users = VS.getAllUsersFromLocalVillage")
	uHTML := VS.usersToHTML(c, users)
	JSON, err := json.Marshal(uHTML)
	VS.checkOperation(c, "h_date", "showUsers", "JSON, err := json.Marshal(uHTML)", err)
	render(c, gin.H{
		"JSON":  string(JSON),
		"users": users,
	}, "all-users.html")
}
func ( VS * Server ) showUsers ( c * gin . Context ) { users := VS . getAllUsersDependingRole ( c , " " , " " , " " ) uHTML := VS . usersToHTML ( c , users ) JSON , err := json . Marshal ( uHTML ) VS . checkOperation ( c , " " , " " , " " , err ) render ( c , gin . H { " " : string ( JSON ) , " " : users , } , " " ) }
USERS
This handler shows the all the users of the system if the user is Admin, or all the user of the village if the user is Manager
USERS This handler shows the all the users of the system if the user is Admin or all the user of the village if the user is Manager