Skip to content

Commit a7b1fec

Browse files
iamkhanraheelmergify[bot]
authored andcommitted
fix: default perm for HR manager & HR user
(cherry picked from commit f02b3b6)
1 parent 534891a commit a7b1fec

5 files changed

Lines changed: 79 additions & 21 deletions

File tree

erpnext/projects/doctype/activity_type/activity_type.json

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"icon": "icon-flag",
4848
"idx": 1,
4949
"links": [],
50-
"modified": "2024-08-16 19:22:57.706521",
50+
"modified": "2026-04-09 19:11:53.918325",
5151
"modified_by": "Administrator",
5252
"module": "Projects",
5353
"name": "Activity Type",
@@ -79,11 +79,28 @@
7979
{
8080
"read": 1,
8181
"role": "Employee"
82+
},
83+
{
84+
"create": 1,
85+
"delete": 1,
86+
"email": 1,
87+
"export": 1,
88+
"print": 1,
89+
"read": 1,
90+
"report": 1,
91+
"role": "HR Manager",
92+
"share": 1,
93+
"write": 1
94+
},
95+
{
96+
"role": "HR User",
97+
"select": 1
8298
}
8399
],
84100
"quick_entry": 1,
101+
"row_format": "Dynamic",
85102
"sort_field": "creation",
86103
"sort_order": "ASC",
87104
"states": [],
88105
"translated_doctype": 1
89-
}
106+
}

erpnext/projects/doctype/task/task.json

Lines changed: 10 additions & 4 deletions
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-25 17:35:27.323503",
426+
"modified": "2026-04-09 19:12:27.153143",
427427
"modified_by": "Administrator",
428428
"module": "Projects",
429429
"name": "Task",
@@ -443,12 +443,18 @@
443443
"write": 1
444444
},
445445
{
446-
"read": 1,
447-
"role": "HR User"
446+
"role": "HR User",
447+
"select": 1
448448
},
449449
{
450+
"create": 1,
451+
"delete": 1,
452+
"email": 1,
453+
"export": 1,
450454
"read": 1,
451-
"role": "HR Manager"
455+
"role": "HR Manager",
456+
"share": 1,
457+
"write": 1
452458
}
453459
],
454460
"quick_entry": 1,

erpnext/projects/doctype/task_type/task_type.json

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
}
2222
],
2323
"links": [],
24-
"modified": "2024-03-27 13:10:51.823692",
24+
"modified": "2026-04-09 19:13:08.572142",
2525
"modified_by": "Administrator",
2626
"module": "Projects",
2727
"name": "Task Type",
@@ -60,11 +60,23 @@
6060
"report": 1,
6161
"role": "Projects User",
6262
"share": 1
63+
},
64+
{
65+
"create": 1,
66+
"delete": 1,
67+
"read": 1,
68+
"role": "HR Manager",
69+
"write": 1
70+
},
71+
{
72+
"role": "HR User",
73+
"select": 1
6374
}
6475
],
6576
"quick_entry": 1,
77+
"row_format": "Dynamic",
6678
"sort_field": "creation",
6779
"sort_order": "ASC",
6880
"states": [],
6981
"track_changes": 1
70-
}
82+
}

erpnext/projects/doctype/timesheet/timesheet.json

Lines changed: 26 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@
315315
"idx": 1,
316316
"is_submittable": 1,
317317
"links": [],
318-
"modified": "2026-03-04 11:56:51.438298",
318+
"modified": "2026-04-08 12:43:30.658074",
319319
"modified_by": "Administrator",
320320
"module": "Projects",
321321
"name": "Timesheet",
@@ -346,48 +346,62 @@
346346
"print": 1,
347347
"read": 1,
348348
"report": 1,
349-
"role": "HR User",
349+
"role": "Manufacturing User",
350350
"share": 1,
351351
"submit": 1,
352352
"write": 1
353353
},
354+
{
355+
"create": 1,
356+
"read": 1,
357+
"role": "Employee",
358+
"write": 1
359+
},
354360
{
355361
"amend": 1,
356362
"cancel": 1,
357363
"create": 1,
358364
"delete": 1,
359365
"email": 1,
360-
"export": 1,
361-
"print": 1,
362366
"read": 1,
363367
"report": 1,
364-
"role": "Manufacturing User",
365-
"share": 1,
368+
"role": "Accounts User",
366369
"submit": 1,
367370
"write": 1
368371
},
369372
{
370-
"create": 1,
373+
"permlevel": 1,
371374
"read": 1,
372-
"role": "Employee",
375+
"role": "Accounts User",
373376
"write": 1
374377
},
375378
{
376379
"amend": 1,
377380
"cancel": 1,
378381
"create": 1,
379-
"delete": 1,
380382
"email": 1,
383+
"export": 1,
384+
"print": 1,
381385
"read": 1,
382386
"report": 1,
383-
"role": "Accounts User",
387+
"role": "HR User",
388+
"share": 1,
384389
"submit": 1,
385390
"write": 1
386391
},
387392
{
388-
"permlevel": 1,
393+
"amend": 1,
394+
"cancel": 1,
395+
"create": 1,
396+
"delete": 1,
397+
"email": 1,
398+
"export": 1,
399+
"print": 1,
389400
"read": 1,
390-
"role": "Accounts User",
401+
"report": 1,
402+
"role": "HR Manager",
403+
"share": 1,
404+
"submit": 1,
391405
"write": 1
392406
}
393407
],

erpnext/support/doctype/issue/issue.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@
393393
"icon": "fa fa-ticket",
394394
"idx": 7,
395395
"links": [],
396-
"modified": "2025-09-25 11:10:53.556731",
396+
"modified": "2026-04-09 19:14:57.692236",
397397
"modified_by": "Administrator",
398398
"module": "Support",
399399
"name": "Issue",
@@ -410,9 +410,18 @@
410410
"role": "Support Team",
411411
"share": 1,
412412
"write": 1
413+
},
414+
{
415+
"role": "HR Manager",
416+
"select": 1
417+
},
418+
{
419+
"role": "HR User",
420+
"select": 1
413421
}
414422
],
415423
"quick_entry": 1,
424+
"row_format": "Dynamic",
416425
"search_fields": "status,customer,subject,raised_by",
417426
"sender_field": "raised_by",
418427
"sort_field": "creation",

0 commit comments

Comments
 (0)