Skip to content

[Next_stage/battery] When instruments are using instrument permissions they can not be populated at the next_stage step #7435

@ridz1208

Description

@ridz1208

Describe the bug
LORIS allows instruments to use instrument permissions where access to specific instruments can be checked based on a project-specific permission code. This works well to restrict access to a specific instrument in a timepoint but maintain access to the rest of the instruments in the same timepoint

Issue: If a user who does not have the instrument permission tries to "start next stage" the battery will still be populated but a 500 error will be displayed to the user. After a refresh the intrument_list module will be populated regardless...

What did you expect to happen?
The battery should be populated without error, it's only access to the instrument that should be restricted, not it's creation

Metadata

Metadata

Assignees

Labels

Category: BugPR or issue that aims to report or fix a bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions