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

package authx;

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

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

message AllowReply {
  bool result = 1;
}