summaryrefslogtreecommitdiff
path: root/protos/ability.proto
blob: 8096fa483347bba14282ea050779dcf593d6ee89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
syntax = "proto3";

package authx.rpc;

service Ability {
  rpc Allowed (AllowRequest) returns (AllowReply) {}
}

message AllowRequest {
  string subject = 1;
  string permission = 2;
  string resource = 3;
}

message AllowReply {
  bool result = 1;
}