TeamPermission
TeamPermission describes the team and the stack permission that team has for a specific stack.
Properties
- The team that has been granted access to the stack.
- ↳
kindenum requiredThe kind of team (e.g., pulumi or GitHub-backed).Values:github— GitHub- TeamKindGitHub is for teams where membership is managed by GitHub.
pulumi— Pulumi- TeamKindPulumi is for teams where membership is managed by Pulumi.
scim— SCIM- TeamKindSCIM is for SCIM provisioned teams. Membership is managed by its IdP.
- ↳
namestring requiredThe unique identifier name of the team within the organization. - ↳
displayNamestring requiredThe human-readable display name shown in the UI. - ↳
descriptionstring requiredA free-form text description of the team’s purpose. - The list of team members.
- The list of stack permissions granted to the team.
- The list of environment settings for the team.
- The list of account permissions granted to the team.
- ↳
listMembersErrorstring optionalListMembersError is the error message if an error was encountered whilst trying to contact the team’s backend (eg. GitHub). The UI will only show this error if it is non-nil and if Members itself is an empty slice. - ↳
userRoleenum optionalUserRole is the calling user’s role on the given team.Values:none,member,admin - ↳
roleIdsarray[string] optionalRoleIDs are the IDs of the FGA roles assigned to the team, if any. Currently only one role per team is supported. permissionenum requiredThe permission level the team has on the stack (e.g., read, write, admin).Values:0— None- StackPermissionNone provides no access.
101— Read- StackPermissionRead provides read-only access, including the ability to decrypt encrypted configuration secrets stored in the service.
102— Write- StackPermissionWrite provides read/write access to a stack.
103— Admin- StackPermissionAdmin provides admin-level access to the stack. For example,
being able to run
pulumi destroyor delete the stack. 104— Creator- StackPermissionCreator identifies the user who created the stack. It confers the same access as StackPermissionAdmin.