XMLWordPrintable

Details

    Description

      Sync Gateway channels are used partitioning the dataset and for granting users access to specific documents via channel assignment.  Currently, the channels that a document is assigned to has to be either derived from the contents of the document or explicitly specified via a special “channels” property in the document. The enhancement proposed in this document is to allow users to leverage user-defined [Extended Attributes(XATTRs)|https://docs.couchbase.com/java-sdk/current/concept-docs/xattr.html] for storing access grants and to keep that separate from the document body.

      PRD:  https://docs.google.com/document/d/1bTxq83PFfKFVIwPlziOv_FhG3eik31NzygRobzrxR_c/edit?ts=602308d7#heading=h.262na8yxv5kl 

      Design: https://docs.google.com/document/d/1X1_qqNNZIox8yjQMeCvqKx_AC7_Gau1EAAHVCg1Sl_0/edit#heading=h.qy9u9vld6pz6 

      Impacted Assets:

      • Whats New (done - 4/20/21)
      • Release notes - new feature – (done 4/20/21)
      • Release notes - changed behavior 
      • sync-gateway-channels.adoc
      • defining-sync-functions.adoc
      • sg.yaml
      • sync-gateway-admin.yaml (_raw)

      Dev Tickets: 

      Docs Tickets:

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            Ian.bridge Ian Bridge added a comment -

            Sridevi Saragadam Xattr changes ready for review

            The changes for Xattrs can be viewed on this staging site https://ibsoln.github.io/stage/stage300/sync-gateway/3.0/using-xattr-access-grants.html.

            Note that whilst this is the main page for these changes, there are minor changes throughout all the Access Control topics (e.g. Sync Function https://ibsoln.github.io/stage/stage300/sync-gateway/3.0/sync-function.html)

             

            Ian.bridge Ian Bridge added a comment - Sridevi Saragadam  Xattr changes ready for review The changes for Xattrs can be viewed on this staging site https://ibsoln.github.io/stage/stage300/sync-gateway/3.0/using-xattr-access-grants.html. Note that whilst this is the main page for these changes, there are minor changes throughout all the Access Control topics (e.g. Sync Function https://ibsoln.github.io/stage/stage300/sync-gateway/3.0/sync-function.html)  

            Can you assign to dev first to verify all information added to the docs?

            sridevi.saragadam Sridevi Saragadam (Inactive) added a comment - Can you assign to dev first to verify all information added to the docs?
            Ian.bridge Ian Bridge added a comment - Daniel Petersen  doc content is available to review. It is staged here  https://ibsoln.github.io/stage/stage300/sync-gateway/3.0/access-control-how.html#lbl-xattrs    

            Ian Bridge I have reviewed the changes here - https://ibsoln.github.io/stage/stage300/sync-gateway/3.0/access-control-how.html#lbl-xattrs
            No comments from me, it all looks good. Are there any other pages I need to review? In your original comment you posted two links but the second gives me a 404

            jacques.rascagneres Jacques Rascagneres added a comment - Ian Bridge  I have reviewed the changes here - https://ibsoln.github.io/stage/stage300/sync-gateway/3.0/access-control-how.html#lbl-xattrs No comments from me, it all looks good. Are there any other pages I need to review? In your original comment you posted two links but the second gives me a 404
            Ian.bridge Ian Bridge added a comment -

            No Jacques Rascagneres the other access control pages have been looked at separately 

            Ian.bridge Ian Bridge added a comment - No Jacques Rascagneres  the other access control pages have been looked at separately 

            People

              Ian.bridge Ian Bridge
              daniel.petersen Daniel Petersen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty