diff options
| author | mo khan <mo@mokhan.ca> | 2025-03-05 17:12:02 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-03-05 17:12:35 -0700 |
| commit | 61b6d010fce0925e3d27ff33484153170e28147c (patch) | |
| tree | 0ad4b678d0b0dc7d6b75fc29624d1f0c5b49672b /protos | |
| parent | 4100066e1d4dfc50f74e4d749ce29c8db2d3fa63 (diff) | |
feat: define the protobuf service definition
Diffstat (limited to 'protos')
| -rw-r--r-- | protos/ability.proto | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/protos/ability.proto b/protos/ability.proto new file mode 100644 index 00000000..656f4f97 --- /dev/null +++ b/protos/ability.proto @@ -0,0 +1,13 @@ +service Ability { + rpc Allowed (AllowRequest) returns (AllowReply) {} +} + +message AllowRequest { + required string subject = 1; + required string permission = 2; + required string resource = 3; +} + +message AllowReply { + required bool result = 1; +} |
