mirror of
https://github.com/portainer/portainer.git
synced 2026-08-07 09:04:48 +00:00
feat(addons): deny team access to Portainer, redirect to Portainer-Run [R8S-1192] (#3264)
This commit is contained in:
@@ -15554,6 +15554,11 @@ components:
|
||||
type: object
|
||||
portainer.Team:
|
||||
properties:
|
||||
DenyPortainerAccess:
|
||||
description: Whether members of this team are denied access to Portainer itself
|
||||
(EE only)
|
||||
example: false
|
||||
type: boolean
|
||||
Id:
|
||||
description: Team Identifier
|
||||
example: 1
|
||||
|
||||
@@ -4543,6 +4543,11 @@ definitions:
|
||||
type: object
|
||||
portainer.Team:
|
||||
properties:
|
||||
DenyPortainerAccess:
|
||||
description: Whether members of this team are denied access to Portainer itself
|
||||
(EE only)
|
||||
example: false
|
||||
type: boolean
|
||||
Id:
|
||||
description: Team Identifier
|
||||
example: 1
|
||||
|
||||
@@ -1398,6 +1398,8 @@ type (
|
||||
ID TeamID `json:"Id" example:"1"`
|
||||
// Team name
|
||||
Name string `json:"Name" example:"developers"`
|
||||
// Whether members of this team are denied access to Portainer itself (EE only)
|
||||
DenyPortainerAccess bool `json:"DenyPortainerAccess" example:"false"`
|
||||
}
|
||||
|
||||
// TeamAccessPolicies represent the association of an access policy and a team
|
||||
|
||||
@@ -3369,6 +3369,10 @@ export type PortainerTag = {
|
||||
};
|
||||
|
||||
export type PortainerTeam = {
|
||||
/**
|
||||
* Whether members of this team are denied access to Portainer itself (EE only)
|
||||
*/
|
||||
DenyPortainerAccess?: boolean;
|
||||
/**
|
||||
* Team Identifier
|
||||
*/
|
||||
|
||||
@@ -1414,6 +1414,7 @@ export const zPortainerTag = z.object({
|
||||
});
|
||||
|
||||
export const zPortainerTeam = z.object({
|
||||
DenyPortainerAccess: z.boolean().optional(),
|
||||
Id: z.int().optional(),
|
||||
Name: z.string().optional(),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user