BU-ISCIII / iskylims

is an open-source LIMS (laboratory Information Management System) for Next Generation Sequencing sample management, statistics and reports, and bioinformatics analysis service management.
https://github.com/BU-ISCIII/iSkyLIMS/wiki
GNU General Public License v3.0
71 stars 34 forks source link

User can't search service/project by sample name #264

Closed svarona closed 4 months ago

svarona commented 4 months ago

Description of the bug

User can't search service/project by sample name

When logged to a normal user (not admin user), if you try to search a service or a project by sample name, it doesn't allow you to search it. It does work with admin users.

With bioinfoadm:

image image image

With the service's/project's user:

image image image

Command used and terminal output

No response

Relevant files

No response

System information

No response

luissian commented 4 months ago

When a normal user is searching for a service, only the user name must be filled with the user name. The field assigned user should be empty and in read mode. Because this field filter by the bioinformatic that was handled the service, and should be not showed for normal user. This is the reason why user does not get any service requested. Commit b5cd32c3 changes the behavior and these 2 fields are not longer showed

The last part of the issue was a bug in code when fetching the friend user list. Solved on commit cc57dac6