Skip to content

BUG: 403 error from elog post after experiment switching #405

Description

@amandashack

Hutch python shows a 403 authorization error after if scientists change active experiments. This is because the opr accounts only have privilege to post to active experiments. I suggest every elog.post request checks the current experiment instead of relying on a cached experiment at initialization.

Context / environment

Observed scientists in the hutch run into this error multiple times over the last week

Steps to Reproduce (for bugs)

  1. login to a hutch machine and start hutch python
  2. change the active experiment
  3. try elog.post
    See photos

Suggested Solution

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions