Skip to content

Commit

Permalink
ListUsers API (#1433)
Browse files Browse the repository at this point in the history
Co-authored-by: Maria Ines Parnisari <maria.inesparnisari@okta.com>
Co-authored-by: Jonathan Whitaker <jon.b.whitaker@gmail.com>
Co-authored-by: Poovamraj T T <poovamraj@gmail.com>
  • Loading branch information
4 people committed May 29, 2024
1 parent b0b3501 commit 89736da
Show file tree
Hide file tree
Showing 31 changed files with 9,902 additions and 178 deletions.
22 changes: 21 additions & 1 deletion .config-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@
"default": 4294967295,
"x-env-variable": "OPENFGA_MAX_CONCURRENT_READS_FOR_LIST_OBJECTS"
},
"maxConcurrentReadsForListUsers": {
"description": "The maximum allowed number of concurrent reads in a single ListUsers query (default is MaxUint32).",
"type": "integer",
"default": 4294967295,
"x-env-variable": "OPENFGA_MAX_CONCURRENT_READS_FOR_LIST_USERS"
},
"changelogHorizonOffset": {
"description": "The offset (in minutes) from the current time. Changes that occur after this offset will not be included in the response of ReadChanges.",
"type": "integer",
Expand Down Expand Up @@ -62,6 +68,20 @@
"default": 1000,
"x-env-variable": "OPENFGA_LIST_OBJECTS_MAX_RESULTS"
},
"listUsersDeadline": {
"description": "The timeout deadline for serving ListUsers requests. If 0s, there is no deadline",
"type": "string",
"format": "duration",
"default": "3s",
"x-env-variable": "OPENFGA_LIST_USERS_DEADLINE"
},
"listUsersMaxResults": {
"description": "The maximum results to return in ListUsers API response. If 0, all results can be returned",
"type": "integer",
"minimum": 0,
"default": 1000,
"x-env-variable": "OPENFGA_LIST_USERS_MAX_RESULTS"
},
"requestDurationDatastoreQueryCountBuckets": {
"description": "Datastore query count buckets used to label the histogram metric for measuring request duration.",
"type": "array",
Expand Down Expand Up @@ -89,7 +109,7 @@
"type": "array",
"items": {
"type": "string",
"enum": []
"enum": ["enable-list-users"]
},
"default": [],
"x-env-variable": "OPENFGA_EXPERIMENTALS"
Expand Down
Loading

0 comments on commit 89736da

Please sign in to comment.