fix(api): secure proxy config, clone volumes, and rollback tags (#11003)

This commit is contained in:
Andras Bacsai
2026-07-22 14:52:11 +02:00
committed by GitHub
parent 16972f6483
commit e560bdf9e0
43 changed files with 16229 additions and 29 deletions
+8
View File
@@ -39,6 +39,14 @@ class SharedEnvironmentVariable extends Model
'value' => 'encrypted',
];
/**
* Scope shared environment variables to a team (API token team_id).
*/
public static function ownedByCurrentTeamAPI(int $teamId)
{
return static::where('team_id', $teamId);
}
protected function key(): Attribute
{
return Attribute::make(