Skip to content

Commit f1e471e

Browse files
authored
Merge pull request #162 from authzed/feat/breaking-schema-affected-relations
api(materialize/v0): add affected permissions to breaking schema change
2 parents 5a1f578 + c931159 commit f1e471e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

authzed/api/materialize/v0/watchpermissionsets.proto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
syntax = "proto3";
22
package authzed.api.materialize.v0;
33

4+
import "authzed/api/materialize/v0/watchpermissions.proto";
45
import "authzed/api/v1/core.proto";
56
import "google/protobuf/timestamp.proto";
67

@@ -192,6 +193,9 @@ message LookupPermissionSetsRequired {
192193
message BreakingSchemaChange {
193194
// change_at is the revision at which a breaking schema event has happened.
194195
authzed.api.v1.ZedToken change_at = 1;
196+
197+
// affected_permissions lists all the watched permissions that were directly affected by the breaking schema change.
198+
repeated WatchedPermission affected_permissions = 2;
195199
}
196200

197201
message DownloadPermissionSetsRequest {

0 commit comments

Comments
 (0)