Clean Access audit and test resources
This commit is contained in:
@@ -31,7 +31,7 @@ from govoplan_access.backend.permissions.catalog import (
|
||||
validate_tenant_permissions,
|
||||
role_templates_for_level,
|
||||
)
|
||||
from govoplan_core.tenancy.service import tenant_counts # re-exported compatibility helper
|
||||
from govoplan_core.tenancy.service import tenant_counts # noqa: F401 - re-exported compatibility helper
|
||||
|
||||
_TEMP_PASSWORD_ALPHABET = string.ascii_letters + string.digits + "-_!@#"
|
||||
|
||||
|
||||
@@ -714,7 +714,7 @@ class ConfigurationSafetyFieldItem(BaseModel):
|
||||
storage: str
|
||||
ui_managed: bool
|
||||
risk: Literal["low", "medium", "high", "destructive"]
|
||||
secret_handling: Literal["none", "reference_only", "env_only"] = "none"
|
||||
secret_handling: Literal["none", "reference_only", "env_only"] = "none" # noqa: S105 - policy vocabulary.
|
||||
required_scopes: list[str] = Field(default_factory=list)
|
||||
dry_run_required: bool = False
|
||||
validation_required: bool = True
|
||||
|
||||
@@ -200,7 +200,6 @@ from govoplan_access.backend.semantic import collect_external_function_roles, co
|
||||
from govoplan_access.backend.security.sessions import collect_user_groups, collect_user_roles, collect_user_scopes
|
||||
from govoplan_core.db.session import get_session
|
||||
from govoplan_access.backend.permissions.catalog import (
|
||||
normalize_email,
|
||||
permission_catalog as access_permission_catalog,
|
||||
scopes_grant,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user