Skip to content
Snippets Groups Projects

Draft: Описание сервиса приложений в составе Account

Open Pavel Antonov requested to merge feature/2773-ClientServiceAPI into master
6 files
+ 365
0
Compare changes
  • Side-by-side
  • Inline
Files
6
+ 27
0
syntax = "proto3";
import "google/protobuf/empty.proto";
option go_package = "git.perx.ru/perxis/perxis-go/api";
package perxis;
// AccessPermission - права доступа
message AccessPermission {
string id = 1; // Идентификатор доступа
oneof scope {
string org = 10;
string space = 11;
}
oneof permission {
string role = 100;
string member = 101;
}
}
message Subject {
oneof subject {
string user_id = 1;
string client_id = 2;
}
}
\ No newline at end of file
Loading