fix(fxt,api): wire real gRPC auth login and add api.access permission

- Replace simulated login in fxt CLI with real AuthServiceClient gRPC call
- Add auth proto to fxt build.rs compile list and lib.rs proto module
- Add api.access permission to JWT claims issued by AuthGrpcService
- Remove orphaned ci-sensor.yaml (replaced by cluster-applied version)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
jgrusewski
2026-03-05 01:41:45 +01:00
parent 8ab6a28119
commit 8b6588936d
5 changed files with 22 additions and 78 deletions

View File

@@ -88,7 +88,7 @@ impl AuthGrpcService {
iss: self.jwt_config.jwt_issuer.clone(),
aud: self.jwt_config.jwt_audience.clone(),
roles: vec!["user".to_string()],
permissions: vec![],
permissions: vec!["api.access".to_string()],
token_type: token_type.to_string(),
session_id: Some(session_id.to_string()),
};