diff --git a/Dockerfile b/Dockerfile index a0fb40e..a825665 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM quay.io/fedoraci/ciboard-server:8b48588 +FROM quay.io/fedoraci/ciboard-server:7a99830 # npm mirror to use to install dependencies. ARG NPMLOCATION=open diff --git a/src/routes.tsx b/src/routes.tsx index 073d1f8..2a495fd 100644 --- a/src/routes.tsx +++ b/src/routes.tsx @@ -62,7 +62,7 @@ export const menuRoutes: MenuEntry[] = [ key: 'metadata', path: '/metadata', element: , - // XXX: uncomment reqAuthzFlag: 'can_edit_metadata', + reqAuthzFlag: 'can_edit_metadata', }, { title: 'Help', diff --git a/src/utils/stages_states.ts b/src/utils/stages_states.ts index 6ac263c..b8a02fc 100644 --- a/src/utils/stages_states.ts +++ b/src/utils/stages_states.ts @@ -1,7 +1,7 @@ /* * This file is part of ciboard - * Copyright (c) 2022, 2023 Andrei Stepanov + * Copyright (c) 2022, 2023, 2024 Andrei Stepanov * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -76,6 +76,7 @@ type AChildrenByStageName = { }; /** + * Entry point. This file is the most complicated part in this project. */ export const mkStagesAndStates = (