fabaccess-bffh/bffhd/capnp/user_system.rs
Nadja Reitzenstein a111a86266 Impl roles
2022-03-15 19:14:04 +01:00

36 lines
587 B
Rust

use capnp::capability::Promise;
use capnp::Error;
use capnp_rpc::pry;
use api::usersystem_capnp::user_system::{
Server as UserSystem,
info, info::Server as InfoServer,
manage, manage::Server as ManageServer,
};
use crate::authorization::AuthorizationHandle;
use crate::session::SessionHandle;
#[derive(Clone)]
pub struct Users {
session: SessionHandle,
}
impl Users {
pub fn new(session: SessionHandle) -> Self {
Self {
session,
}
}
}
impl UserSystem for Users {
}
impl InfoServer for Users {
}
impl ManageServer for Users {
}