DOC-11383 clarify collection_access for channel assignment #853
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
DOC-11383 clarify collection_access for channel assignment
This is really just a scaffold for @simon-dew to improve upon. This should pick up changes in couchbase/sync_gateway#7473 and rebuild redocly and preferably also static api doc changes.
The gist is that toplevel
admin_channelsis present for the_default._defaultcollection for backward compatibility and a GET will showadmin_channelsin the toplevel. For a PUT:or
are equivalent.
I think this is out of scope for this ticket, but I think dropping the old file based pre 3.x configuration might be warranted. Note,
collection_accessis only available on 3.1+ since 3.1 is the first version that supports collections. However, 3.0 has been out of full maintenance since October 2023.Note: these links are broken
<.> Here we have added the channels _channel2_, _channel3_ and _SkyChannel_ to the role _Edge2_ {configuration-schema-database--pfx--db}-roles-this_role-admin_channels[databases.$db.users.$user.$collection_access.$scopename.$collectionname.$admin_channels]because regenerating the json schemas is probably broken. However, the old links were broken as well.I don't expect this to be the final copy, and will leave it up to Simon to finish this PR and address any copy changes he wants.