diff options
Diffstat (limited to 'protos')
| -rw-r--r-- | protos/ability.proto | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/protos/ability.proto b/protos/ability.proto index 656f4f97..5f155264 100644 --- a/protos/ability.proto +++ b/protos/ability.proto @@ -1,13 +1,17 @@ +syntax = "proto3"; + +package authx; + service Ability { rpc Allowed (AllowRequest) returns (AllowReply) {} } message AllowRequest { - required string subject = 1; - required string permission = 2; - required string resource = 3; + string subject = 1; + string permission = 2; + string resource = 3; } message AllowReply { - required bool result = 1; + bool result = 1; } |
