Skip to content

Commit

Permalink
slc is also allowed to download events data of any club
Browse files Browse the repository at this point in the history
  • Loading branch information
Dileepadari committed Oct 20, 2024
1 parent 4b5b135 commit d458e7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/events/DataForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ import { LoadingButton } from "@mui/lab";
import { getAllClubIds } from "actions/clubs/all-ids/server_action";
import { eventsDataDownload } from "actions/events/data/server_action";

const allowed_roles = ["cc", "club", "slo"];
const admin_roles = ["cc", "slo"];
const allowed_roles = ["cc", "club", "slo", "slc"];
const admin_roles = ["cc", "slo", "slc"];
const disabledFields = ["code", "name", "clubid", "datetimeperiod.0", "status"]; // Fields that should be disabled and selected

function DataClubSelect({
Expand Down

0 comments on commit d458e7c

Please sign in to comment.