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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.0.0
    • None
    • Database Core
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: