Skip to content

Commit

Permalink
Chore(OGCIO): messaging perms (#78)
Browse files Browse the repository at this point in the history
chore(core): messaging perms
  • Loading branch information
SamSalvatico authored Jul 12, 2024
1 parent bbf682e commit 7a0bf92
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 8 deletions.
14 changes: 10 additions & 4 deletions packages/cli/src/commands/database/ogcio/ogcio-seeder-local.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"messaging:message:*",
"messaging:provider:*",
"messaging:template:*",
"messaging:citizen:*"
"messaging:citizen:*",
"messaging:event:read"
]
},
"organization_roles": [
Expand All @@ -39,7 +40,8 @@
"messaging:message:*",
"messaging:provider:*",
"messaging:template:*",
"messaging:citizen:*"
"messaging:citizen:*",
"messaging:event:read"
]
}
],
Expand Down Expand Up @@ -90,7 +92,9 @@
{
"resource_id": "messaging-api",
"specific_permissions": [
"messaging:message.self:read"
"messaging:message.self:read",
"messaging:citizen.self:read",
"messaging:citizen.self:write"
]
}
],
Expand All @@ -112,7 +116,9 @@
{
"resource_id": "messaging-api",
"specific_permissions": [
"messaging:message.self:read"
"messaging:message.self:read",
"messaging:citizen.self:read",
"messaging:citizen.self:write"
]
}
]
Expand Down
14 changes: 10 additions & 4 deletions packages/cli/src/commands/database/ogcio/ogcio-seeder.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"messaging:message:*",
"messaging:provider:*",
"messaging:template:*",
"messaging:citizen:*"
"messaging:citizen:*",
"messaging:event:read"
]
},
"organization_roles": [
Expand All @@ -39,7 +40,8 @@
"messaging:message:*",
"messaging:provider:*",
"messaging:template:*",
"messaging:citizen:*"
"messaging:citizen:*",
"messaging:event:read"
]
}
],
Expand Down Expand Up @@ -90,7 +92,9 @@
{
"resource_id": "messaging-api",
"specific_permissions": [
"messaging:message.self:read"
"messaging:message.self:read",
"messaging:citizen.self:read",
"messaging:citizen.self:write"
]
}
],
Expand All @@ -112,7 +116,9 @@
{
"resource_id": "messaging-api",
"specific_permissions": [
"messaging:message.self:read"
"messaging:message.self:read",
"messaging:citizen.self:read",
"messaging:citizen.self:write"
]
}
]
Expand Down

0 comments on commit 7a0bf92

Please sign in to comment.