Skip to content

permissive policies should be excluded #3

@ellarabi

Description

@ellarabi

policies document:

(1) customers with "gold" membership can book a flight with any passengers number regardless of their frequent flyer points
(2) customers with "regular" membership cannot book a flight with more than three passengers unless they own ...
(3) customers with "silver" membership cannot book a flight with more than seven passengers
(4) ...

attaching also oas.json, book_reservation.json and the generated guard code.

book_reservation.json
guard_gold_membership_unlimited_booking.py
oas.json

we should probably skip (put aside) permissive policies like (1) since they are not the case we handle with toolguard

right now the guard throws exception for any customer that is not "gold"

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions