Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Cannot Load Any Objects After Adding User Permissions #264

@kee007ney

Description

@kee007ney

Describe the bug

I'm not sure if this is intended behavior or a bug, but documenting it here either way. I didn't have access to a prefix that I should have had. When I went to add it in the administration site, I lost the ability to see any objects back in the Portal.

To Reproduce

  1. Go to https://biocomputeobject.org/api/admin/ and log in as the admin
  2. Click on Users (under "AUTHENTICATION AND AUTHORIZATION")
  3. Click on a user
  4. Scroll down to "User permissions"
  5. Add all user permissions to the user (screenshot 1)

  1. Now log into https://biocomputeobject.org/ as that user
  2. Go to Objects in the top menu and search the usual way for any BCO via any Search Type (select server, select Search Type).
  3. Error returned (screenshot 2)

Expected behavior

Expect to see objects for which I have permission to view appear in the list of objects after search criteria entered.

Desktop (please complete the following information):

  • OS: Windows10
  • Browser Brave

Additional context

Normal behavior is restored when permissions are removed. Counter intuitive that adding permissions reduces functionality!

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