Skip to content

Manage Staff broken for course staff not also admin #305

@winstan

Description

@winstan

Course staff who are not also queue administrators cannot add new staff to their course due to autocomplete.
The 'Add staff' button is disabled unless autocomplete returns a pendingUser, and autocomplete only works for admins.
See https://github.com/illinois/queue/blob/master/src/components/AddStaff.js
This issue was introduced in e4d8704 or #288

How about disabling autocomplete for non-admins? Is that relatively simple?
Forcing non-admins to know the full ID of a person they are adding is reasonable, I think.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions