Skip to content

Commit

Permalink
fix: create permissions for gp guest
Browse files Browse the repository at this point in the history
  • Loading branch information
netchampfaris committed Feb 6, 2024
1 parent b6eddbd commit 9f9332c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/NewTaskDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function statusOptions({ onClick }) {
label: status,
onClick: () => onClick(status),
}
},
}
)
}
Expand All @@ -118,7 +118,7 @@ function show({ defaults, onSuccess } = {}) {
_onSuccess = onSuccess
}
function onCreateClick({ close }) {
function onCreateClick(close) {
createTask
.submit(newTask.value, {
validate() {
Expand Down
6 changes: 4 additions & 2 deletions gameplan/gameplan/doctype/gp_discussion/gp_discussion.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
],
"index_web_pages_for_search": 1,
"links": [],
"modified": "2023-02-20 18:29:13.384580",
"modified": "2024-02-06 12:11:11.919002",
"modified_by": "Administrator",
"module": "Gameplan",
"name": "GP Discussion",
Expand Down Expand Up @@ -163,13 +163,15 @@
"write": 1
},
{
"create": 1,
"email": 1,
"export": 1,
"print": 1,
"read": 1,
"report": 1,
"role": "Gameplan Guest",
"share": 1
"share": 1,
"write": 1
}
],
"show_title_field_in_link": 1,
Expand Down
3 changes: 2 additions & 1 deletion gameplan/gameplan/doctype/gp_page/gp_page.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
],
"index_web_pages_for_search": 1,
"links": [],
"modified": "2023-09-18 21:30:16.417667",
"modified": "2024-02-06 12:18:02.871772",
"modified_by": "Administrator",
"module": "Gameplan",
"name": "GP Page",
Expand Down Expand Up @@ -98,6 +98,7 @@
"write": 1
},
{
"create": 1,
"email": 1,
"export": 1,
"print": 1,
Expand Down
5 changes: 3 additions & 2 deletions gameplan/gameplan/doctype/gp_project/gp_project.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
"link_fieldname": "project"
}
],
"modified": "2023-05-29 17:46:40.841850",
"modified": "2024-02-06 12:12:18.808576",
"modified_by": "Administrator",
"module": "Gameplan",
"name": "GP Project",
Expand Down Expand Up @@ -183,7 +183,8 @@
"read": 1,
"report": 1,
"role": "Gameplan Guest",
"share": 1
"share": 1,
"write": 1
}
],
"show_title_field_in_link": 1,
Expand Down

0 comments on commit 9f9332c

Please sign in to comment.