Skip to content

Make administrative 8th period activities unsearchable #1864

@aarushtools

Description

@aarushtools

Steps to reproduce

  1. Create an 8th period activity and make it "Administrative"
  2. Using an account with admin privileges, search for it (it shows up, which is good)
  3. Using an account without admin privileges, search for (it shows up, which is bad)

Expected behavior

Administrative activities shouldn't be visible to non-administrative users.

Keep in mind that eighth/signup/<block id>?activity=<id>, which pulls up an 8th period activity into the sidebar viewer, should also be patched to not show if the user is not an admin but the activity id is administrative.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions