Skip to content

Commit

Permalink
feat(cb2-7445): Added Tech Record Create Role (#75)
Browse files Browse the repository at this point in the history
* fix(cb2-7407): added role for create tech record

* fix(cb2-7407): revert package lock

* Remove *

* fix(cb2-7407): added get permissions
  • Loading branch information
tom-bjss committed Jan 31, 2023
1 parent 2b4bda6 commit ca0e691
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/functions/functionalConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,20 @@ export const functionConfig: { [key: string]: NonEmptyArray<IApiAccess> } = {
path: "reference/*",
},
],
"TechRecord.Create": [
{
verbs: ["POST", "OPTIONS"],
path: "vehicles",
},
{
verbs: ["GET", "OPTIONS"],
path: "vehicles/*",
},
{
verbs: ["GET", "OPTIONS"],
path: "reference/*",
},
],
"TechRecord.View": [
{
verbs: ["GET", "OPTIONS"],
Expand Down

0 comments on commit ca0e691

Please sign in to comment.