Skip to content

Commit 534891a

Browse files
iamkhanraheelmergify[bot]
authored andcommitted
fix: default permission for HR manager role
(cherry picked from commit 5ec6616)
1 parent 0d6d64f commit 534891a

10 files changed

Lines changed: 79 additions & 38 deletions

File tree

erpnext/accounts/doctype/account/account.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@
203203
"idx": 1,
204204
"is_tree": 1,
205205
"links": [],
206-
"modified": "2026-03-24 12:43:45.708738",
206+
"modified": "2026-03-25 17:27:39.304619",
207207
"modified_by": "Administrator",
208208
"module": "Accounts",
209209
"name": "Account",
@@ -261,6 +261,11 @@
261261
"read": 1,
262262
"report": 1,
263263
"role": "HR User"
264+
},
265+
{
266+
"read": 1,
267+
"report": 1,
268+
"role": "HR Manager"
264269
}
265270
],
266271
"row_format": "Dynamic",

erpnext/accounts/doctype/cost_center/cost_center.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
"idx": 1,
127127
"is_tree": 1,
128128
"links": [],
129-
"modified": "2026-03-24 12:44:03.297998",
129+
"modified": "2026-03-25 17:26:40.657146",
130130
"modified_by": "Administrator",
131131
"module": "Accounts",
132132
"name": "Cost Center",
@@ -177,6 +177,10 @@
177177
{
178178
"read": 1,
179179
"role": "HR User"
180+
},
181+
{
182+
"read": 1,
183+
"role": "HR Manager"
180184
}
181185
],
182186
"row_format": "Dynamic",

erpnext/accounts/doctype/mode_of_payment/mode_of_payment.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"idx": 1,
4949
"index_web_pages_for_search": 1,
5050
"links": [],
51-
"modified": "2026-03-24 12:48:15.343727",
51+
"modified": "2026-03-25 17:34:25.721556",
5252
"modified_by": "Administrator",
5353
"module": "Accounts",
5454
"name": "Mode of Payment",
@@ -71,8 +71,11 @@
7171
},
7272
{
7373
"read": 1,
74-
"report": 1,
7574
"role": "HR User"
75+
},
76+
{
77+
"read": 1,
78+
"role": "HR Manager"
7679
}
7780
],
7881
"quick_entry": 1,

erpnext/projects/doctype/project/project.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@
480480
"index_web_pages_for_search": 1,
481481
"links": [],
482482
"max_attachments": 4,
483-
"modified": "2026-03-24 12:52:03.156389",
483+
"modified": "2026-03-25 17:32:36.262980",
484484
"modified_by": "Administrator",
485485
"module": "Projects",
486486
"name": "Project",
@@ -528,6 +528,10 @@
528528
{
529529
"read": 1,
530530
"role": "HR User"
531+
},
532+
{
533+
"read": 1,
534+
"role": "HR Manager"
531535
}
532536
],
533537
"quick_entry": 1,

erpnext/projects/doctype/task/task.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@
423423
"is_tree": 1,
424424
"links": [],
425425
"max_attachments": 5,
426-
"modified": "2026-03-24 12:57:46.063009",
426+
"modified": "2026-03-25 17:35:27.323503",
427427
"modified_by": "Administrator",
428428
"module": "Projects",
429429
"name": "Task",
@@ -445,6 +445,10 @@
445445
{
446446
"read": 1,
447447
"role": "HR User"
448+
},
449+
{
450+
"read": 1,
451+
"role": "HR Manager"
448452
}
449453
],
450454
"quick_entry": 1,

erpnext/setup/doctype/company/company.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,7 @@
970970
"image_field": "company_logo",
971971
"is_tree": 1,
972972
"links": [],
973-
"modified": "2026-03-24 12:44:15.614147",
973+
"modified": "2026-03-25 17:23:35.604282",
974974
"modified_by": "Administrator",
975975
"module": "Setup",
976976
"name": "Company",
@@ -1035,6 +1035,15 @@
10351035
"read": 1,
10361036
"report": 1,
10371037
"role": "HR User"
1038+
},
1039+
{
1040+
"create": 1,
1041+
"export": 1,
1042+
"import": 1,
1043+
"read": 1,
1044+
"report": 1,
1045+
"role": "HR Manager",
1046+
"write": 1
10381047
}
10391048
],
10401049
"row_format": "Dynamic",

erpnext/setup/doctype/designation/designation.json

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"icon": "fa fa-bookmark",
3232
"idx": 1,
3333
"links": [],
34-
"modified": "2024-03-27 13:06:51.361961",
34+
"modified": "2026-03-26 14:59:26.816846",
3535
"modified_by": "Administrator",
3636
"module": "Setup",
3737
"name": "Designation",
@@ -52,12 +52,24 @@
5252
{
5353
"read": 1,
5454
"role": "Sales User"
55+
},
56+
{
57+
"create": 1,
58+
"delete": 1,
59+
"email": 1,
60+
"print": 1,
61+
"read": 1,
62+
"report": 1,
63+
"role": "HR Manager",
64+
"share": 1,
65+
"write": 1
5566
}
5667
],
5768
"quick_entry": 1,
69+
"row_format": "Dynamic",
5870
"show_name_in_global_search": 1,
5971
"sort_field": "creation",
6072
"sort_order": "ASC",
6173
"states": [],
6274
"translated_doctype": 1
63-
}
75+
}

erpnext/setup/doctype/driver/driver.json

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
],
130130
"icon": "fa fa-user",
131131
"links": [],
132-
"modified": "2024-03-27 13:08:18.825438",
132+
"modified": "2026-03-26 14:45:09.568829",
133133
"modified_by": "Administrator",
134134
"module": "Setup",
135135
"name": "Driver",
@@ -144,30 +144,6 @@
144144
"role": "Fleet Manager",
145145
"share": 1
146146
},
147-
{
148-
"create": 1,
149-
"delete": 1,
150-
"email": 1,
151-
"export": 1,
152-
"print": 1,
153-
"read": 1,
154-
"report": 1,
155-
"role": "HR User",
156-
"share": 1,
157-
"write": 1
158-
},
159-
{
160-
"create": 1,
161-
"delete": 1,
162-
"email": 1,
163-
"export": 1,
164-
"print": 1,
165-
"read": 1,
166-
"report": 1,
167-
"role": "HR Manager",
168-
"share": 1,
169-
"write": 1
170-
},
171147
{
172148
"print": 1,
173149
"read": 1,
@@ -186,11 +162,12 @@
186162
}
187163
],
188164
"quick_entry": 1,
165+
"row_format": "Dynamic",
189166
"search_fields": "full_name",
190167
"show_name_in_global_search": 1,
191168
"sort_field": "creation",
192169
"sort_order": "DESC",
193170
"states": [],
194171
"title_field": "full_name",
195172
"track_changes": 1
196-
}
173+
}

erpnext/setup/doctype/employee_group/employee_group.json

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
}
3333
],
3434
"links": [],
35-
"modified": "2024-03-27 13:09:39.303885",
35+
"modified": "2026-03-26 17:22:45.737955",
3636
"modified_by": "Administrator",
3737
"module": "Setup",
3838
"name": "Employee Group",
@@ -49,11 +49,28 @@
4949
"role": "System Manager",
5050
"share": 1,
5151
"write": 1
52+
},
53+
{
54+
"create": 1,
55+
"delete": 1,
56+
"email": 1,
57+
"print": 1,
58+
"read": 1,
59+
"report": 1,
60+
"role": "HR Manager",
61+
"share": 1,
62+
"write": 1
63+
},
64+
{
65+
"read": 1,
66+
"role": "HR User",
67+
"write": 1
5268
}
5369
],
5470
"quick_entry": 1,
71+
"row_format": "Dynamic",
5572
"sort_field": "creation",
5673
"sort_order": "DESC",
5774
"states": [],
5875
"track_changes": 1
59-
}
76+
}

erpnext/setup/doctype/terms_and_conditions/terms_and_conditions.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"icon": "icon-legal",
7878
"idx": 1,
7979
"links": [],
80-
"modified": "2026-03-24 16:36:37.021007",
80+
"modified": "2026-03-26 16:11:17.367505",
8181
"modified_by": "Administrator",
8282
"module": "Setup",
8383
"name": "Terms and Conditions",
@@ -134,6 +134,12 @@
134134
{
135135
"read": 1,
136136
"role": "HR User"
137+
},
138+
{
139+
"create": 1,
140+
"read": 1,
141+
"role": "HR Manager",
142+
"write": 1
137143
}
138144
],
139145
"quick_entry": 1,

0 commit comments

Comments
 (0)