2021-02-01 23:23:12 +01:00
|
|
|
@0xd0568a21cf11488e;
|
|
|
|
|
|
|
|
using Rust = import "programming_language/rust.capnp";
|
|
|
|
$Rust.parentModule("schema");
|
|
|
|
|
|
|
|
using CSharp = import "programming_language/csharp.capnp";
|
|
|
|
$CSharp.namespace("FabAccessAPI.Schema");
|
|
|
|
|
2021-08-27 00:28:33 +02:00
|
|
|
using Role = import "role.capnp".Role;
|
|
|
|
|
2022-04-21 20:17:03 +02:00
|
|
|
struct PermissionSystem
|
2021-02-01 23:23:12 +01:00
|
|
|
{
|
2022-04-21 20:17:03 +02:00
|
|
|
info @0 :Info;
|
2021-08-26 23:52:36 +02:00
|
|
|
interface Info $CSharp.name("InfoInterface") {
|
2021-08-29 11:51:37 +02:00
|
|
|
getRoleList @0 () -> ( role_list :List(Role) );
|
2021-08-26 23:52:36 +02:00
|
|
|
}
|
|
|
|
|
2022-04-21 20:17:03 +02:00
|
|
|
manage @1 :Manage;
|
2021-08-26 23:52:36 +02:00
|
|
|
interface Manage $CSharp.name("ManageInterface") {
|
2021-08-29 11:51:37 +02:00
|
|
|
|
2021-08-26 23:52:36 +02:00
|
|
|
}
|
2021-02-01 23:23:12 +01:00
|
|
|
}
|