Skip to content

Investigate how to automaticaly populate prefix under admin user permission panel #504

@tiwa1154

Description

@tiwa1154

Describe the bug
Prefixes are showing under https://biocomputeobject.org/api/admin/prefix/prefix/, but some of the newer prefixs don't show up under Users/User Permissions.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://biocomputeobject.org/api/admin/prefix/prefix/', check all the available perfixes
  2. For example, for prefix "BMK", it shows up in Prefixs
  3. The go to Users, select a random user, but in this case, I am using bco_api_user as an example.
  4. Scroll down to User Permissions
    Image
  5. See error that BMK is does not exist
    Expected behavior
    Should show prefix permission options such as "prefix | prefix | Can add BCOs with prefix BMK", and all other prefix-related permissions

Image

This doesn't only happen to BMK prefix but some other new registered prefixes.

Desktop (please complete the following information):

  • Browser [fairfox]

Additional context
I think this issue could be related to portal_userdb

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions