Certification Scenario - Should `delete` appear in Action Search results?
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- typescript
- Domain
- testing-qa
Research direction
Start with the Action Search fixture check (S3), the permitted-results module, and the cited scenario §§4.4–4.5 and spec §8.1. Trace how the suite handles actions whose decisions depend on properties, then determine whether delete belongs in the results and whether the permitted-results check should skip it. Done means the fixture and check express a consistent interpretation of the cited requirements.
Written by the indexing model from the issue text.
Description
For subject alice performing action delete with properties.soft = true on resource record-1: the decision MUST be true. For subject alice performing action delete with properties.soft = false on resource record-1: the decision MUST be false. (scenario §4.4, rules 7 and 8)
Note: delete is excluded from the Properties Action Search fixture. Action Search omits the action key from requests per the spec, so action.properties.soft cannot be provided. Action Search results return action names only, without constraining properties. (scenario §4.5)
any result from a Search API, when subsequently used in an Access Evaluation API call, SHOULD result in a "decision": true response. (spec §8.1)
Whether alice may delete record-1 depends on soft, which an Action Search result does not carry. A PDP may or may not list delete among the actions alice can perform on record-1. If it lists it, an Access Evaluation request built from that result has no soft, and the fixture defines no decision for it.
Suite today. The Action Search fixture check (S3) requires read and write, and allows other actions. The permitted-results module sends each of the first 10 results to the Access Evaluation API as an action name only, and reports a false decision as a warning (§8.1 SHOULD). A PDP that lists delete and denies it without soft gets that warning.
Questions.
- Should Action Search results for alice on record-1 include
delete? - If a PDP lists an action whose decision depends on its properties, should the §8.1 check skip it, since the result cannot carry the properties?
- Dominant language
- TypeScript
- Stars
- 170
- Forks
- 46
- Avg merge
- 18h 5m
- Merged PRs (30d)
- 43
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openid/authzen
-
Certification Scenario §7.2.2, §7.3.2 and §7.4.2: identical results, or identical fixture results?Possibly taken @alexolivier claimed this 3 days ago. Openauthorization-api certification
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Search interop runner compares results as JSON strings, so member order decides PASS/FAILMay be free again A pull request for this issue was closed without being merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
openid/authzen#693 · 3 comments ·
Maintainers usually reply within 1 day
-
certification
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
openid/authzen#640 · 1 comment ·
Maintainers usually reply within 1 day
-
access-requests
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
openid/authzen#578 · 3 comments ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 35/100
Maintainers usually reply within 1 day
Similar issues
-
triage
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
🎙️ task - drop the raw `./node_modules/.bin/rhachet roles boot` line from bhuild's feedback templateOpen
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
ehmpathy/rhachet-roles-bhuild#639 ·
Maintainers usually reply within 1 day
-
e2e-failure ready-to-code
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
redhat-developer/rhdh-plugin-export-overlays#4650 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 13 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
omdsh-dev/DSH-better-sidebar#1098 ·
Maintainers usually reply within 2 days