Skip to content

Commit

Permalink
Merge branch 'cases-rbac-poc' of github.com:elastic/kibana into remai…
Browse files Browse the repository at this point in the history
…ning-rbac-apis
  • Loading branch information
jonathan-buttner committed Apr 30, 2021
2 parents efc6e82 + 103388e commit 0d39f83
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions x-pack/plugins/cases/server/client/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,12 @@ interface OwnerEntity {
id: string;
}

interface AuthFilterHelpers {
filter?: KueryNode;
ensureSavedObjectsAreAuthorized: (entities: OwnerEntity[]) => void;
logSuccessfulAuthorization: () => void;
}

/**
* Function callback for making sure the found saved objects are of the authorized owner
*/
Expand Down

0 comments on commit 0d39f83

Please sign in to comment.