Skip to content

Commit

Permalink
Configure Client Profiles for JM, TH, MT (#2411)
Browse files Browse the repository at this point in the history
* Configure Client Profiles for JM, TH, MT

* Remove flags without durations
  • Loading branch information
annaliseirby090 authored Jul 16, 2024
1 parent 3cc29c8 commit 45fe2be
Show file tree
Hide file tree
Showing 10 changed files with 80 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[
{
"flag": "blocked",
"label": "Short Term Block (24 Hours)",
"durationInHours": "24"
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[
{
"name": "summary",
"label": "Summary",
"editLabel": "Edit Summary",
"type": "textarea",
"rows": 20,
"width": 500,
"placeholder": "General Assessment of Case and Plan"
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[
{
"flag": "blocked",
"label": "Short Term Block (24 Hours)",
"durationInHours": "24"
},
{
"flag": "blocked",
"label": "Long Term Block (5 Years)",
"durationInHours": "43848"
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[
{
"name": "summary",
"label": "Summary",
"editLabel": "Edit Summary",
"type": "textarea",
"rows": 20,
"width": 500,
"placeholder": "Enter a summary of the client"
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[
{
"flag": "blocked",
"label": "Long Term Block (100 Years)",
"durationInHours": "876600"
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[
{
"name": "summary",
"label": "Summary",
"editLabel": "Edit Summary",
"type": "textarea",
"rows": 20,
"width": 500,
"placeholder": "Enter a summary of the client"
}
]
12 changes: 6 additions & 6 deletions plugin-hrm-form/src/permissions/jm.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
"addContactToCase": [["isSupervisor"], ["isOwner"]],
"removeContactFromCase": [["isSupervisor"], ["isOwner"]],

"viewProfile": [],
"flagProfile": [],
"unflagProfile": [],
"createProfileSection": [],
"viewProfileSection": [],
"editProfileSection": [],
"viewProfile": [["everyone"]],
"flagProfile": [["isSupervisor"]],
"unflagProfile": [["isSupervisor"]],
"createProfileSection": [["everyone"]],
"viewProfileSection": [["everyone"]],
"editProfileSection": [["everyone"]],

"viewPostSurvey": [["isSupervisor"]],

Expand Down
12 changes: 6 additions & 6 deletions plugin-hrm-form/src/permissions/mt.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
"addContactToCase": [["isSupervisor"], ["isOwner"]],
"removeContactFromCase": [["isSupervisor"], ["isOwner"]],

"viewProfile": [],
"flagProfile": [],
"unflagProfile": [],
"createProfileSection": [],
"viewProfileSection": [],
"editProfileSection": [],
"viewProfile": [["everyone"]],
"flagProfile": [["isSupervisor"]],
"unflagProfile": [["isSupervisor"]],
"createProfileSection": [["everyone"]],
"viewProfileSection": [["everyone"]],
"editProfileSection": [["everyone"]],

"viewPostSurvey": [["isSupervisor"]],

Expand Down
12 changes: 6 additions & 6 deletions plugin-hrm-form/src/permissions/th.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
"addContactToCase": [["isSupervisor"], ["isOwner"]],
"removeContactFromCase": [["isSupervisor"], ["isOwner"]],

"viewProfile": [],
"flagProfile": [],
"unflagProfile": [],
"createProfileSection": [],
"viewProfileSection": [],
"editProfileSection": [],
"viewProfile": [["everyone"]],
"flagProfile": [["everyone"]],
"unflagProfile": [["everyone"]],
"createProfileSection": [["everyone"]],
"viewProfileSection": [["everyone"]],
"editProfileSection": [["everyone"]],

"viewPostSurvey": [["isSupervisor"]],

Expand Down
3 changes: 3 additions & 0 deletions plugin-hrm-form/src/translations/en-JM/flexUI.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"abusive": "Abusive - Indecent Exposure"
}

0 comments on commit 45fe2be

Please sign in to comment.