access handler block (#432)

This commit is contained in:
Michael Quigley
2024-03-01 15:50:54 -05:00
parent 033d52c4c3
commit c673a57304
3 changed files with 6 additions and 14 deletions

View File

@ -134,6 +134,7 @@ func (h *shareHandler) Handle(params share.ShareParams, principal *rest_model_zr
BackendMode: params.Body.BackendMode,
BackendProxyEndpoint: &params.Body.BackendProxyEndpoint,
Reserved: reserved,
PermissionMode: store.OpenPermissionMode,
}
if len(params.Body.FrontendSelection) > 0 {
sshr.FrontendSelection = &params.Body.FrontendSelection[0]