Skip to content

Toggle hidden elements for users with elevated permissions #155

Description

@SilasBerger

Permission-based elements (Solution, Restricted) are always visible to users with elevated permissions. This is generally useful (and necessary, since they need to be able to change permissions).

However, especially when using <Restricted> to differentiate elements (e.g. deadlines, submission links) across classes, this can make it difficult to show the page in class (confusing for students, looks messy).

It would be nice to have a way to toggle off this "privileged view": Hide the permissions panel, and hide all elements that are not visible to the current class.

Metadata

Metadata

Assignees

No one assigned

    Labels

    summer-of-codeA larger issue to potentially work on this summer

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions