mirror of
https://github.com/portainer/portainer.git
synced 2026-08-07 10:04:49 +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
|
type: object
|
||||||
portainer.Team:
|
portainer.Team:
|
||||||
properties:
|
properties:
|
||||||
|
DenyPortainerAccess:
|
||||||
|
description: Whether members of this team are denied access to Portainer itself
|
||||||
|
(EE only)
|
||||||
|
example: false
|
||||||
|
type: boolean
|
||||||
Id:
|
Id:
|
||||||
description: Team Identifier
|
description: Team Identifier
|
||||||
example: 1
|
example: 1
|
||||||
|
|||||||
@@ -4543,6 +4543,11 @@ definitions:
|
|||||||
type: object
|
type: object
|
||||||
portainer.Team:
|
portainer.Team:
|
||||||
properties:
|
properties:
|
||||||
|
DenyPortainerAccess:
|
||||||
|
description: Whether members of this team are denied access to Portainer itself
|
||||||
|
(EE only)
|
||||||
|
example: false
|
||||||
|
type: boolean
|
||||||
Id:
|
Id:
|
||||||
description: Team Identifier
|
description: Team Identifier
|
||||||
example: 1
|
example: 1
|
||||||
|
|||||||
@@ -1398,6 +1398,8 @@ type (
|
|||||||
ID TeamID `json:"Id" example:"1"`
|
ID TeamID `json:"Id" example:"1"`
|
||||||
// Team name
|
// Team name
|
||||||
Name string `json:"Name" example:"developers"`
|
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
|
// TeamAccessPolicies represent the association of an access policy and a team
|
||||||
|
|||||||
@@ -3369,6 +3369,10 @@ export type PortainerTag = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export type PortainerTeam = {
|
export type PortainerTeam = {
|
||||||
|
/**
|
||||||
|
* Whether members of this team are denied access to Portainer itself (EE only)
|
||||||
|
*/
|
||||||
|
DenyPortainerAccess?: boolean;
|
||||||
/**
|
/**
|
||||||
* Team Identifier
|
* Team Identifier
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -1414,6 +1414,7 @@ export const zPortainerTag = z.object({
|
|||||||
});
|
});
|
||||||
|
|
||||||
export const zPortainerTeam = z.object({
|
export const zPortainerTeam = z.object({
|
||||||
|
DenyPortainerAccess: z.boolean().optional(),
|
||||||
Id: z.int().optional(),
|
Id: z.int().optional(),
|
||||||
Name: z.string().optional(),
|
Name: z.string().optional(),
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user