Skip to content

Problem accessing CATcher as an admin #1337

Open
@Eclipse-Dominator

Description

@Eclipse-Dominator

Describe the bug
When a user is listed as an admin in the CATcher repo settings, the user won't be able to access CATcher if they don't have the specified repo required.

To Reproduce
Steps to reproduce the behavior:

  1. Go to a CATcher settings repo like CATcher-org/public_data that contains bug trimming phase
  2. Give yourself admin access
  3. Go to your Github account, ensure that you don't have the repo required by bug trimming. For the case of public_data, delete the auto generated repo bugreporting from your account.
  4. Access CATcher. (You can find the deployed version of the master branch here
  5. Notice the error message "Bug-Reporting Phase's repository initialisation is only available to students"

Expected behavior
I expect to be able to log in and access CATcher as the admin (or at least the rest of the repo if I don't own the required repo for bug trimming if 'admin' should not be able to init the repo).

Screenshots

Image

Source: Bug discovered by @damithc and reproduced by @Eclipse-Dominator

Metadata

Metadata

Assignees

No one assigned

    Labels

    category.Bugp.Lowlow value, can be delayed indefinitely

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions