Skip to content
Discussion options

You must be logged in to vote

Hi Max,

Great question. OpenTDF doesn't currently have a single API call that returns "here are all the actions Jen can perform on Sample.txt." Happy to put in a feature request for that functionality, especially if there are others with the same need. There are two APIs that get you close, but each requires some extra work on your side:

Option 1: Check each action individually with GetDecision

If you know the set of possible actions (e.g., read, update, delete), you can call GetDecision for each one and collect the results:

String[] actions = {"read", "update", "delete"};

for (String actionName : actions) {
    GetDecisionRequest request = GetDecisionRequest.newBuilder()
        .setEnt…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mm192010
Comment options

Answer selected by jrschumacher
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants