Skip to content

Conversation

cesine
Copy link
Member

@cesine cesine commented Jan 19, 2022

Using https://github.com/FieldDB/CorpusWebService/pull/11/commits

 / deprecated
       syncDetails
         should try to create all corpora listed in the user:
     AssertionError: expected 403 to be one of [ 401, 404 ]
      at /home/runner/work/AuthenticationWebService/AuthenticationWebService/test/routes/deprecated-spec.js:1570:36
      at runMicrotasks (<anonymous>)
      at processTicksAndRejections (node:internal/process/task_queues:96:5)

http://localhost:5984/_utils/#database/_users/org.couchdb.user%3Atest1645515886741

{
  "_id": "org.couchdb.user:test1645515886741",
  "_rev": "3-641d940ebf56bfb1373ce8ab4279d06b",
  "name": "test1645515886741",
  "roles": [
    "fielddbuser",
    "georgiantogether_user",
    "public-firstcorpus_reader",
    "test1645515886741-firstcorpus_admin",
    "test1645515886741-firstcorpus_commenter",
    "test1645515886741-firstcorpus_reader",
    "test1645515886741-firstcorpus_writer",
    "test1645515886741-kartuli_admin",
    "test1645515886741-kartuli_commenter",
    "test1645515886741-kartuli_reader",
    "test1645515886741-kartuli_writer"
  ],
  "type": "user",
  "password_scheme": "pbkdf2",
  "iterations": 10,
  "derived_key": "f039fe780627510ee3e3e3ef7d790e886b8713b4",
  "salt": "195259447366a884ab444fe2f93d00a1"
}

Root cause: the user Is missing the new roles after running sync details.

@cesine cesine changed the title upgrade couchdb to 3.2.1 upgrade couchdb to 3.1.2 Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant