[Fix] Restrict domain specific roles (#11975)

* restrict roles to its specific domain

* missing hook for Non Profit
diff --git a/erpnext/domains/agriculture.py b/erpnext/domains/agriculture.py
index 378c5f1..d605ac7 100644
--- a/erpnext/domains/agriculture.py
+++ b/erpnext/domains/agriculture.py
@@ -14,6 +14,10 @@
 		'Water Analysis',
 		'Weather'
 	],
+	'restricted_roles': [
+		'Agriculture Manager',
+		'Agriculture User'
+	],
 	'modules': [
 		'Agriculture'
 	],
diff --git a/erpnext/domains/education.py b/erpnext/domains/education.py
index eed3545..e1e363d 100644
--- a/erpnext/domains/education.py
+++ b/erpnext/domains/education.py
@@ -16,7 +16,8 @@
 	'restricted_roles': [
 		'Student',
 		'Instructor',
-		'Academics User'
+		'Academics User',
+		'Education Manager'
 	],
 	'modules': [
 		'Education'
diff --git a/erpnext/domains/non_profit.py b/erpnext/domains/non_profit.py
index b9683bd..81aff02 100644
--- a/erpnext/domains/non_profit.py
+++ b/erpnext/domains/non_profit.py
@@ -10,6 +10,11 @@
 		'HR',
 		'ToDo'
 	],
+	'restricted_roles': [
+		'Non Profit Manager',
+		'Non Profit Member',
+		'Non Profit Portal User'
+	],
 	'modules': [
 		'Non Profit'
 	],
diff --git a/erpnext/hooks.py b/erpnext/hooks.py
index 53d117c..b65908a 100644
--- a/erpnext/hooks.py
+++ b/erpnext/hooks.py
@@ -60,6 +60,7 @@
 	'Healthcare': 'erpnext.domains.healthcare',
 	'Hospitality': 'erpnext.domains.hospitality',
 	'Manufacturing': 'erpnext.domains.manufacturing',
+	'Non Profit': 'erpnext.domains.non_profit',
 	'Retail': 'erpnext.domains.retail',
 	'Services': 'erpnext.domains.services',
 }