Skip to content

Commit a616287

Browse files
committed
beta
1 parent 09fe349 commit a616287

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Unreleased
22

3-
* Add support for adding custom project permission for variable sets `ProjectVariableSetsPermission` by @netramali [21879](https://github.com/hashicorp/atlas/pull/21879)
3+
* Add BETA support for adding custom project permission for variable sets `ProjectVariableSetsPermission` by @netramali [21879](https://github.com/hashicorp/atlas/pull/21879)
44

55
# v1.73.0
66

team_project_access.go

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,10 @@ type TeamProjectAccess struct {
6969

7070
// ProjectPermissions represents the team's permissions on its project
7171
type TeamProjectAccessProjectPermissions struct {
72-
ProjectSettingsPermission ProjectSettingsPermissionType `jsonapi:"attr,settings"`
73-
ProjectTeamsPermission ProjectTeamsPermissionType `jsonapi:"attr,teams"`
72+
ProjectSettingsPermission ProjectSettingsPermissionType `jsonapi:"attr,settings"`
73+
ProjectTeamsPermission ProjectTeamsPermissionType `jsonapi:"attr,teams"`
74+
// ProjectVariableSetsPermission represents read, manage, and no access custom permission for project-level variable sets
75+
// This relation is considered BETA, SUBJECT TO CHANGE, and likely unavailable to most users.
7476
ProjectVariableSetsPermission ProjectVariableSetsPermissionType `jsonapi:"attr,variable-sets"`
7577
}
7678

@@ -106,6 +108,7 @@ const (
106108
)
107109

108110
// ProjectVariableSetsPermissionType represents the permission type to a project's variable sets
111+
// This relation is considered BETA, SUBJECT TO CHANGE, and likely unavailable to most users.
109112
type ProjectVariableSetsPermissionType string
110113

111114
const (
@@ -151,8 +154,9 @@ const (
151154
)
152155

153156
type TeamProjectAccessProjectPermissionsOptions struct {
154-
Settings *ProjectSettingsPermissionType `json:"settings,omitempty"`
155-
Teams *ProjectTeamsPermissionType `json:"teams,omitempty"`
157+
Settings *ProjectSettingsPermissionType `json:"settings,omitempty"`
158+
Teams *ProjectTeamsPermissionType `json:"teams,omitempty"`
159+
// This relation is considered BETA, SUBJECT TO CHANGE, and likely unavailable to most users.
156160
VariableSets *ProjectVariableSetsPermissionType `json:"variable-sets,omitempty"`
157161
}
158162

0 commit comments

Comments
 (0)