Skip to content

admin-sidebar appears blank when no relevant permissions are found #4770

@jaredgalanis

Description

@jaredgalanis

Describe the bug

A clear and concise description of what the bug is. Include the version(s) of DSpace where you've seen this problem & what web browser you were using. Link to examples if they are public.

In DSpace angular 9.x, when a user logs in, but is not part of any administrator person group or doesn't have any of the other permissions enabled that drive authorization of visibility of sidebar items (e.g. CanSeeQA or CoarNotifyEnabled), we observe that the admin-sidebar does show up, but it does not have any content.

To Reproduce

Steps to reproduce the behavior:

  1. produce an instance of DSpace where qaevents.enabled=false
  2. register a user that has no admin permissions and nodes not have CanSeeQA or CoarNotifyEnabled permissions
  3. authenticate that user
  4. observe a visible admin sidebar that has no content other than the pin side bar control

Expected behavior

A clear and concise description of what you expected to happen.

If a system is in the state as described above and a user registers in the state described above, the admin sidebar does not become visible at all for such a user.

Related work

Link to any related tickets or PRs here.

Metadata

Metadata

Assignees

Type

Projects

Status

🏗 In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions