sec_interp.core.services.access_control_service module

Access Control Service.

This module provides a service to manage access to restricted features.

class sec_interp.core.services.access_control_service.AccessControlService(store: SettingsStore | None = None)

Bases: object

Service to manage access to restricted features.

__init__(store: SettingsStore | None = None) → None

Initialize the access control service with a settings store.

can_export_3d() → bool

Check if the user has permission to export 3D data.

Returns:

True if authorized, False otherwise.

Return type:

bool