mirror of
https://github.com/ysoftdevs/terraform-provider-bitbucketserver.git
synced 2026-03-25 19:01:06 +01:00
Added docs for data sources
This commit is contained in:
36
docusaurus/docs/data_global_permissions_users.md
Normal file
36
docusaurus/docs/data_global_permissions_users.md
Normal file
@@ -0,0 +1,36 @@
|
||||
---
|
||||
id: data_global_permissions_users
|
||||
title: bitbucketserver_global_permissions_users
|
||||
---
|
||||
|
||||
Retrieve a list of users that have been granted at least one global permission.
|
||||
|
||||
## Example Usage
|
||||
|
||||
```
|
||||
data "bitbucketserver_global_permissions_users" "all" { }
|
||||
```
|
||||
|
||||
### Applying a Custom Filter
|
||||
|
||||
Find any users starting with `malcolm`.
|
||||
|
||||
```
|
||||
data "bitbucketserver_global_permissions_users" "malcolms" {
|
||||
filter = "malcolm"
|
||||
}
|
||||
```
|
||||
|
||||
## Argument Reference
|
||||
|
||||
* `filter` - Optional. If specified only user's names/emails containing the supplied string will be returned.
|
||||
|
||||
## Attribute Reference
|
||||
|
||||
* `users` - List of maps containing `name`, `email_address`, `display_name`, `active` and `permission` keys. Available permissions are: `LICENSED_USER`, `PROJECT_CREATE`, `ADMIN`, `SYS_ADMIN`
|
||||
|
||||
* `LICENSED_USER`
|
||||
* `PROJECT_CREATE`
|
||||
* `ADMIN`
|
||||
* `SYS_ADMIN`
|
||||
|
||||
Reference in New Issue
Block a user