mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-12-22 19:53:49 +01:00
Make spacename/instanceurl required and enable card interface
This commit is contained in:
parent
bed59f4aaa
commit
36c81cfc23
@ -73,6 +73,7 @@ impl User {
|
||||
}
|
||||
if session.has_perm(Permission::new("bffh.users.admin")) {
|
||||
builder.set_admin(capnp_rpc::new_client(client.clone()));
|
||||
builder.set_card_d_e_s_fire_e_v2(capnp_rpc::new_client(client));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -107,11 +107,9 @@ pub struct Config {
|
||||
#[serde(default, skip)]
|
||||
pub logging: LogConfig,
|
||||
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
pub spacename: Option<String>,
|
||||
pub spacename: String,
|
||||
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
pub instanceurl: Option<String>,
|
||||
pub instanceurl: String,
|
||||
}
|
||||
|
||||
impl Config {
|
||||
|
Loading…
Reference in New Issue
Block a user