mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-12-22 03:33:48 +01:00
Make spacename/instanceurl required and enable card interface
This commit is contained in:
parent
946a08c19c
commit
cf3853263a
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -97,11 +97,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