Skip to content

Commit

Permalink
Merge pull request #199 from folio-org/MODPERMS-220-delete-hasPermiss…
Browse files Browse the repository at this point in the history
…ions

MODPERMS-220: Delete unused hasPermissions from GET /perms/users API
  • Loading branch information
julianladisch authored Aug 30, 2023
2 parents 2d10a4c + 742513e commit a66c09f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
9 changes: 1 addition & 8 deletions ramls/permissions.raml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,6 @@ traits:
description: "A query string to filter users based on matching criteria in fields."
required: false
type: string
byPermission:
queryParameters:
hasPermissions:
description: "A list of permissions that any returned users must possess."
required: false
type: string
byMember:
queryParameters:
memberOf:
Expand Down Expand Up @@ -83,8 +77,7 @@ traits:
pageable,
pageable_legacy,
sortable,
queryable,
byPermission
queryable
]
responses:
200:
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/folio/rest/impl/PermsAPI.java
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ protected static CQLWrapper getCQL(String query, String tableName) {
@Override
public void getPermsUsers(String totalRecords,
int offset, int limit, int length, int start, String sortBy, String query,
String hasPermissions, RoutingContext routingContext, Map<String, String> okapiHeaders,
RoutingContext routingContext, Map<String, String> okapiHeaders,
Handler<AsyncResult<Response>> asyncResultHandler, Context vertxContext) {

if (length != 10) {
Expand Down

0 comments on commit a66c09f

Please sign in to comment.