mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 18:59:08 +00:00
[Fix] Restrict domain specific roles (#11975)
* restrict roles to its specific domain * missing hook for Non Profit
This commit is contained in:
@@ -14,6 +14,10 @@ data = {
|
||||
'Water Analysis',
|
||||
'Weather'
|
||||
],
|
||||
'restricted_roles': [
|
||||
'Agriculture Manager',
|
||||
'Agriculture User'
|
||||
],
|
||||
'modules': [
|
||||
'Agriculture'
|
||||
],
|
||||
|
||||
@@ -16,7 +16,8 @@ data = {
|
||||
'restricted_roles': [
|
||||
'Student',
|
||||
'Instructor',
|
||||
'Academics User'
|
||||
'Academics User',
|
||||
'Education Manager'
|
||||
],
|
||||
'modules': [
|
||||
'Education'
|
||||
|
||||
@@ -10,6 +10,11 @@ data = {
|
||||
'HR',
|
||||
'ToDo'
|
||||
],
|
||||
'restricted_roles': [
|
||||
'Non Profit Manager',
|
||||
'Non Profit Member',
|
||||
'Non Profit Portal User'
|
||||
],
|
||||
'modules': [
|
||||
'Non Profit'
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user