blob: b440abcc0f1eea5ca48caf5f8f601c0c4987767b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
syntax = "proto3";
package authx.rpc;
option go_package = "gitlab.com/mokhax/spike/pkg/rpc";
service Ability {
rpc Allowed (AllowRequest) returns (AllowReply) {}
}
message AllowRequest {
string subject = 1;
string permission = 2;
string resource = 3;
}
message AllowReply {
bool result = 1;
}
|