You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a Resource Owner/Controller (and perhaps as a Resource User too), I want the Authorization Service to explain me why exactly certain access has been granted/denied, So that I can understand/explain the decisions, and make changes to policies if needed.
Preconditions:
A Resource Owner/Controller can manage policies over some resources on an LWS-compatible resource server.
Resource Users interact with the RO/RC's Authorization Server and Resource Servers to access resources.
The Authorization Service has granted/denied a certain access request.
Trigger:
The RO/RC wants an explanation for a certain policy decision.
Actors:
[Primary] The Resource Owner/Controller (~ Data Holder/Supplier): an agent who has partial/delegated (controller) or ultimate (owner) control over policies concerning certain resources.
[Technical] The Authorization Service: the access management system used by the RO/RC to protect their resources on the RS.
Distinction:
With any non-trivial set of policies, the Authorization Service might make decisions (granting or denying permission) of which it is not immediately clear how they follow from those policies. In those cases, an RO/RC might desire an explanation, in order to understand the decision and possibly update the policy set. Such an explanation must be as humanly understandable as possible.
Scenario:
The RO/RC accesses their Authorization Service's overview of recent decisions, and select the decision they don't understand.
Included in the details of the decision, they find
the policies on which the decision was based,
the parameters included in the decision process (e.g. context, credentials provided by the RU etc.), and
a description of which (logical) steps the policy engine has taken to result in that particular decision.
Alternative case(s):
Next to a static explanation, one could envision a scenario in which the RO/RC can interact with the Authorization Service, and ask more questions concerning specific details of the explanation, which are then further clarified.
Sometimes an explanation might not be understood, or even indicate a possible problem/fault with the policy engine. In this case, the RO/RC should be able to escalate the issue to the system management level.
Error scenario:
The full explanation might be to complicated to present in any humanly understandable manner.
Transforming the technical decision details into a humanly understandable explanation might take too long or time out (performance-wise).
Acceptance Criteria:
RO/RCs can access the details of decisions made by the Authorization Service.
In the details of a decision, RO/RCs can find a humanly understandable explanation of why the decision in question has been made.
The text was updated successfully, but these errors were encountered:
Preconditions:
The Authorization Service granted/denied a certain access.
Trigger:
The User wants an explanation.
Actors:
The primary actor is the User who is interacting with the Explainer which is interacting with the Authorization Service.
Distinction:
The explantion must be human understandable and the User might pose further questions which should be answered.
Scenario:
The User asks "Can you explain why access to resource R has been denied?"
The Explainer gives an answer which is making the User happy.
Alternative case(s):
The User asks "Can you explain why access to resource R has been denied?"
The Explainer gives an answer but the User wants more details about a specifc part of the explanation.
The Explainer gives an answer that mkes the User happy.
Error scenario:
The User asks "Can you explain why access to resource R has been denied?"
The Explainer does not give an answer maybe due to a timeout.
The system should escalate that issue to the system management level.
Acceptance Criteria:
We assume that a test case manifest will be made and 85% of the tests MUST succeed.
termontwouter
changed the title
[UC] Explainable Policy Engine Decisions <DRAFT>
[UC] Explainable Policy Engine Decisions
Jan 16, 2025
As a Resource Owner/Controller (and perhaps as a Resource User too),
I want the Authorization Service to explain me why exactly certain access has been granted/denied,
So that I can understand/explain the decisions, and make changes to policies if needed.
Preconditions:
Trigger:
The RO/RC wants an explanation for a certain policy decision.
Actors:
[Primary] The Resource Owner/Controller (~ Data Holder/Supplier): an agent who has partial/delegated (controller) or ultimate (owner) control over policies concerning certain resources.
[Technical] The Authorization Service: the access management system used by the RO/RC to protect their resources on the RS.
Distinction:
With any non-trivial set of policies, the Authorization Service might make decisions (granting or denying permission) of which it is not immediately clear how they follow from those policies. In those cases, an RO/RC might desire an explanation, in order to understand the decision and possibly update the policy set. Such an explanation must be as humanly understandable as possible.
Scenario:
Alternative case(s):
Next to a static explanation, one could envision a scenario in which the RO/RC can interact with the Authorization Service, and ask more questions concerning specific details of the explanation, which are then further clarified.
Sometimes an explanation might not be understood, or even indicate a possible problem/fault with the policy engine. In this case, the RO/RC should be able to escalate the issue to the system management level.
Error scenario:
Acceptance Criteria:
The text was updated successfully, but these errors were encountered: