Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-3185

Value of 'roles' in userCtxt object is null in filter function

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.0.0
    • Fix Version/s: None
    • Component/s: Database Core
    • Labels:
      None

      Description

      I had setup filtered replication from CouchDB 1.6 (to PouchDB) based on user roles which worked fine.
      However, in 2.0, the 'req.userCtx.roles' object gives null value in the filter function even though the user is logged in and has roles assigned.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              htejwani Haresh
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: