GafaelfawrScope#
- pydantic model phalanx.models.environments.GafaelfawrScope#
- A Gafaelfawr scope and its associated groups. - Parameters:
- data ( - Any) –
 - Show JSON schema- { "title": "GafaelfawrScope", "description": "A Gafaelfawr scope and its associated groups.", "type": "object", "properties": { "scope": { "title": "Scope", "type": "string" }, "groups": { "title": "Groups", "type": "array", "items": { "anyOf": [ { "type": "string" }, { "$ref": "#/definitions/GafaelfawrGitHubGroup" } ] } } }, "required": [ "scope", "groups" ], "definitions": { "GafaelfawrGitHubTeam": { "title": "GafaelfawrGitHubTeam", "description": "Designates a GitHub team for use as a Gafaelfawr group.", "type": "object", "properties": { "organization": { "title": "Organization", "type": "string" }, "team": { "title": "Team", "type": "string" } }, "required": [ "organization", "team" ] }, "GafaelfawrGitHubGroup": { "title": "GafaelfawrGitHubGroup", "description": "A group based on a GitHub team.", "type": "object", "properties": { "github": { "$ref": "#/definitions/GafaelfawrGitHubTeam" } }, "required": [ "github" ] } } } - 
field groups: list[str|GafaelfawrGitHubGroup] [Required]#
- List of groups that grant that scope.