Can i assign project or tasks to a specific user groups in ERPNxt?

can i assign project or tasks to a specific user groups in ERPNxt?

I did something like that for the training event doctype and I used an employee group doctype to set up my groups. I added a field to chose the group and then let the script to the work:

frappe.ui.form.on(“Training Event”, {
“employee_group”: function(frm) {
frappe.model.with_doc(“Employee Group”, frm.doc.employee_group, function() {
var tabletransfer= frappe.model.get_doc(“Employee Group”, frm.doc.employee_group)
$.each(tabletransfer.employee_list, function(index, row){
var d = frm.add_child(“employees”);
d.employee = row.employee;
frm.refresh_field(“employees”);
});
});
}
});