Skip to content

Commit

Permalink
extend getTenant permissions (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
beetlecrunch authored Nov 30, 2023
1 parent d08d715 commit 734afbc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ final case class TenantApiServiceImpl(
contexts: Seq[(String, String)],
toEntityMarshallerProblem: ToEntityMarshaller[Problem],
toEntityMarshallerTenant: ToEntityMarshaller[Tenant]
): Route = authorize(ADMIN_ROLE, API_ROLE, M2M_ROLE, SECURITY_ROLE, SUPPORT_ROLE) {
): Route = authorize(ADMIN_ROLE, API_ROLE, M2M_ROLE, SECURITY_ROLE, INTERNAL_ROLE, SUPPORT_ROLE) {
val operationLabel = s"Retrieving tenant $id"
logger.info(operationLabel)

Expand Down
1 change: 1 addition & 0 deletions src/test/resources/authz.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"api",
"m2m",
"security",
"internal",
"support"
]
},
Expand Down

0 comments on commit 734afbc

Please sign in to comment.