-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Add api routing and handler * Add 6 test cases and fix implementation * Add 8 tests and docID option to docGrant in test util * Add 4 tests and fix handler * Add test case and attempt to solve deleted role issue * Add multi doc tests * add role/chan removal tests and disable deleted role test * Add documentation for user/doc access endpoint * Fix sync endpoint conflict and docs * Add goimports and fix lint * Fix lint * Fix getRoleChanEntryOverlap if statements * Fix deleted role handling * Remove public chan excess handling * remove unused function * Fix TestGetUserDocAccessDynamicRoleChanRemoval2 * Fix goimports lint * Fix TestGetUserDocAccessDynamicRoleChanRemoval2 again * Fix conflict * Disable deleted role tests with named collections
- Loading branch information
1 parent
a90cbad
commit 79b5c2d
Showing
14 changed files
with
1,259 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Copyright 2022-Present Couchbase, Inc. | ||
# | ||
# Use of this software is governed by the Business Source License included | ||
# in the file licenses/BSL-Couchbase.txt. As of the Change Date specified | ||
# in that file, in accordance with the Business Source License, use of this | ||
# software will be governed by the Apache License, Version 2.0, included in | ||
# the file licenses/APL2.txt. | ||
parameters: | ||
- $ref: ../../components/parameters.yaml#/keyspace | ||
- $ref: ../../components/parameters.yaml#/user-name | ||
get: | ||
summary: Get all document access spans. | ||
description: |- | ||
Retrieve all sequence spans where a user had access to a list of documents. | ||
The spans are in the form of start sequence - end sequence. | ||
Required Sync Gateway RBAC roles: | ||
* Sync Gateway Architect | ||
* Sync Gateway Application | ||
* Sync Gateway Application Read Only | ||
parameters: | ||
- $ref: ../../components/parameters.yaml#/doc_id | ||
responses: | ||
'200': | ||
$ref: ../../components/responses.yaml#/user_access_span_response | ||
'400': | ||
description: Bad Request | ||
'404': | ||
$ref: ../../components/responses.yaml#/Not-found | ||
tags: | ||
- Database Security | ||
operationId: get_keyspace-_user-name |
Oops, something went wrong.