Skip to content

Commit 7d6515d

Browse files
committed
Remove consistentRead
1 parent 7491cc7 commit 7d6515d

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

src/modules/Authorization.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ export default class Authorization {
1414
subject: isSubject(check.subject) ? check.subject : { objectType: check.subject.getObjectType(), objectId: check.subject.getObjectId() },
1515
context: check.context
1616
}],
17-
consistentRead: check.consistentRead,
1817
debug: check.debug
1918
}
2019
if (WarrantClient.config.authorizeEndpoint) {
@@ -37,7 +36,6 @@ export default class Authorization {
3736
const accessCheckRequest: AccessCheckRequest = {
3837
op: check.op,
3938
warrants: warrants,
40-
consistentRead: check.consistentRead,
4139
debug: check.debug
4240
}
4341

@@ -54,7 +52,6 @@ export default class Authorization {
5452
relation: "member",
5553
subject: featureCheck.subject,
5654
context: featureCheck.context,
57-
consistentRead: featureCheck.consistentRead,
5855
debug: featureCheck.debug
5956
})
6057
}
@@ -65,7 +62,6 @@ export default class Authorization {
6562
relation: "member",
6663
subject: permissionCheck.subject,
6764
context: permissionCheck.context,
68-
consistentRead: permissionCheck.consistentRead,
6965
debug: permissionCheck.debug
7066
})
7167
}

src/types/Check.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,36 +13,31 @@ export interface CheckWarrant {
1313
}
1414

1515
export default interface Check extends CheckWarrant {
16-
consistentRead?: boolean;
1716
debug?: boolean;
1817
}
1918

2019
export interface CheckMany {
2120
op?: CheckOp;
2221
warrants: CheckWarrant[];
23-
consistentRead?: boolean;
2422
debug?: boolean;
2523
}
2624

2725
export interface FeatureCheck {
2826
featureId: string;
2927
subject: WarrantObject | Subject;
3028
context?: Context;
31-
consistentRead?: boolean;
3229
debug?: boolean;
3330
}
3431

3532
export interface PermissionCheck {
3633
permissionId: string;
3734
subject: WarrantObject | Subject;
3835
context?: Context;
39-
consistentRead?: boolean;
4036
debug?: boolean;
4137
}
4238

4339
export interface AccessCheckRequest {
4440
op?: CheckOp;
4541
warrants: Warrant[];
46-
consistentRead?: boolean;
4742
debug?: boolean;
4843
}

0 commit comments

Comments
 (0)