ce0b500d7a4fd7e6b0f7a557d39591de3439e510
openExportDialog()/openExportSubscriptionDialog() only guarded on teamId truthiness, relying solely on the template @if for permission gating. Every other permission-gated method in Cashbox (submitPlayerBooking, reverseBooking) re-checks the permission internally too. Add the same guard here, plus a test asserting direct invocation without booking rights does not call dialog.open.
Description
No description provided
Languages
TypeScript
88.2%
HTML
7.1%
SCSS
3.7%
Shell
0.6%
Handlebars
0.3%
Other
0.1%