Skip to content

Commit acda721

Browse files
Update docs/resources/repository_privileges.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 7727d69 commit acda721

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/resources/repository_privileges.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The repository privileges resource allows the management of privileges for a giv
44

55
Note that while users can be added to repositories in this manner, since Terraform does not (and cannot currently) manage those user accounts, you may encounter issues if the users change or are deleted outside of Terraform.
66

7-
> [!WARNING] Important: When a repository is first created in Cloudsmith the creating account (user or service account that owns the API key) is automatically granted an implicit Admin privilege.
7+
> [!WARNING] Important: When a repository is first created in Cloudsmith, the creating account (user or service account that owns the API key) is automatically granted an implicit Admin privilege.
88
When you later manage privileges via this resource, you must explicitly include that account (using a `user` or `service` block with the appropriate `slug`). Otherwise, the provider will refuse to apply the change to prevent locking you out. You will still be able to apply changes if a `team` block is present. However, you must make sure that the account has sufficient permission within the team, or lockout can still occur.
99

1010
See [docs.cloudsmith.com](https://docs.cloudsmith.com/repositories/repository-settings#repository-privileges) for full permissions documentation.

0 commit comments

Comments
 (0)