mirror of
https://github.com/ysoftdevs/terraform-provider-bitbucketserver.git
synced 2026-03-27 11:51:08 +01:00
Moved all docs to website
This commit is contained in:
28
docusaurus/docs/resource_global_permissions_user.md
Normal file
28
docusaurus/docs/resource_global_permissions_user.md
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
id: bitbucketserver_global_permissions_user
|
||||
title: bitbucketserver_global_permissions_user
|
||||
---
|
||||
|
||||
Set global permissions for a given user.
|
||||
|
||||
## Example Usage
|
||||
|
||||
```hcl
|
||||
resource "bitbucketserver_global_permissions_user" "mreynolds" {
|
||||
user = "mreynolds"
|
||||
permission = "ADMIN"
|
||||
}
|
||||
```
|
||||
|
||||
## Argument Reference
|
||||
|
||||
* `user` - Required. Name of the user permissions are for.
|
||||
* `permission` - Required. The permission to grant. Available global permissions are: `LICENSED_USER`, `PROJECT_CREATE`, `ADMIN`, `SYS_ADMIN`
|
||||
|
||||
## Import
|
||||
|
||||
Import a user global permissions via the user's name:
|
||||
|
||||
```
|
||||
terraform import bitbucketserver_global_permissions_user.test mreynolds
|
||||
```
|
||||
Reference in New Issue
Block a user