Skip to content

Commit

Permalink
Clean project from self invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
alekGbuz committed Dec 6, 2024
1 parent 550d1ad commit 9ce7c32
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 133 deletions.
19 changes: 1 addition & 18 deletions descriptors/ModuleDescriptor-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,6 @@
"consortium-search.holdings.batch.collection.get",
"consortium-search.items.batch.collection.get",
"consortium-search.items.collection.get",
"bulk-edit.permissions-self-check.get",
"consortia.user-tenants.collection.get",
"perms.users.get",
"permissions.users.item.get"
Expand Down Expand Up @@ -312,7 +311,6 @@
"inventory-storage.holdings-sources.collection.get",
"inventory-storage.holdings-sources.item.get",
"inventory-storage.holdings.item.put",
"bulk-edit.permissions-self-check.get",
"perms.users.get",
"permissions.users.item.get"
]
Expand All @@ -323,15 +321,6 @@
"permissionsRequired": [ "bulk-edit.errors.collection.get" ],
"modulePermissions": []
},
{
"methods": [ "GET" ],
"pathPattern": "/bulk-edit/permissions-self-check",
"permissionsRequired": ["bulk-edit.permissions-self-check.get"],
"modulePermissions": [
"perms.users.get",
"permissions.users.item.get"
]
},
{
"methods": [ "GET" ],
"pathPattern": "/refresh-presigned-url",
Expand Down Expand Up @@ -404,11 +393,6 @@
"displayName" : "get errors for preview",
"description" : "Get errors for preview"
},
{
"permissionName" : "bulk-edit.permissions-self-check.get",
"displayName" : "Set of users permissions for self check",
"description" : "Set of users permissions for self check"
},
{
"permissionName" : "refresh-presigned-url.get",
"displayName" : "Get refreshed presigned url for export file",
Expand All @@ -421,8 +405,7 @@
"subPermissions" : [
"bulk-edit.item.post",
"bulk-edit.start.item.post",
"bulk-edit.errors.collection.get",
"bulk-edit.permissions-self-check.get"
"bulk-edit.errors.collection.get"
]
},
{
Expand Down
15 changes: 0 additions & 15 deletions src/main/java/org/folio/dew/client/PermissionsSelfCheckClient.java

This file was deleted.

This file was deleted.

29 changes: 0 additions & 29 deletions src/main/resources/swagger.api/bulk-edit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,37 +129,8 @@ paths:
schema:
type: string
example: Internal server error
/permissions-self-check:
get:
description: Get users permissions
operationId: getUsersPermissions
responses:
'200':
description: List of actual users permissions for current tenant
content:
application/json:
schema:
type: array
items:
$ref: "#/components/schemas/userPermission"
'404':
description: No found
content:
text/plain:
schema:
type: string
example: Desired permissions not found
'500':
description: Internal server errors, e.g. due to misconfiguration
content:
text/plain:
schema:
type: string
example: Internal server error
components:
schemas:
userPermission:
type: string
UUID:
type: string
format: uuid
Expand Down

This file was deleted.

17 changes: 0 additions & 17 deletions src/test/resources/mappings/permissionsSelfCheck.json

This file was deleted.

0 comments on commit 9ce7c32

Please sign in to comment.