From 75b976b4ab6032dbe53d85d2f53de734d8b69def Mon Sep 17 00:00:00 2001 From: sunguroku <65516095+sunguroku@users.noreply.github.com> Date: Fri, 15 Mar 2024 00:57:26 -0400 Subject: [PATCH] gitea (#4414) Co-authored-by: sunguroku --- .../main/home/project-settings/RoleModal.tsx | 435 ++++++++++++++++++ 1 file changed, 435 insertions(+) diff --git a/dashboard/src/main/home/project-settings/RoleModal.tsx b/dashboard/src/main/home/project-settings/RoleModal.tsx index 38aa449382..6bc16190c2 100644 --- a/dashboard/src/main/home/project-settings/RoleModal.tsx +++ b/dashboard/src/main/home/project-settings/RoleModal.tsx @@ -49,6 +49,111 @@ const RoleModal: React.FC = ({ Manage permissions for this role: + Clusters}> + All clusters}> + {}} + disabled={readOnly} + > + Read + + + {}} + disabled={readOnly} + > + Write + + + {}} + disabled={readOnly} + > + Create + + + {}} + disabled={readOnly} + > + Delete + + + + staging}> + {}} + disabled={readOnly} + > + Read + + + {}} + disabled={readOnly} + > + Write + + + {}} + disabled={readOnly} + > + Create + + + {}} + disabled={readOnly} + > + Delete + + + + production}> + {}} + disabled={readOnly} + > + Read + + + {}} + disabled={readOnly} + > + Write + + + {}} + disabled={readOnly} + > + Create + + + {}} + disabled={readOnly} + > + Delete + + + + + Applications}> All applications}> = ({ + tetris-app}> + {}} + disabled={readOnly} + > + Read + + + {}} + disabled={readOnly} + > + Write + + + {}} + disabled={readOnly} + > + Create + + + {}} + disabled={readOnly} + > + Delete + + + Tabs}> + {}} + disabled={readOnly} + > + Notifications + + + {}} + disabled={readOnly} + > + Activity + + + {}} + disabled={readOnly} + > + Overview + + + {}} + disabled={readOnly} + > + Logs + + + {}} + disabled={readOnly} + > + Metrics + + + {}} + disabled={readOnly} + > + Environment + + + {}} + disabled={readOnly} + > + Build settings + + + {}} + disabled={readOnly} + > + Settings + + + + Actions}> + {}} + disabled={readOnly} + > + App rollbacks + + + + + chatter-v2-backend}> + {}} + disabled={readOnly} + > + Read + + + {}} + disabled={readOnly} + > + Write + + + {}} + disabled={readOnly} + > + Create + + + {}} + disabled={readOnly} + > + Delete + + + Tabs}> + {}} + disabled={readOnly} + > + Notifications + + + {}} + disabled={readOnly} + > + Activity + + + {}} + disabled={readOnly} + > + Overview + + + {}} + disabled={readOnly} + > + Logs + + + {}} + disabled={readOnly} + > + Metrics + + + {}} + disabled={readOnly} + > + Environment + + + {}} + disabled={readOnly} + > + Build settings + + + {}} + disabled={readOnly} + > + Settings + + + + Actions}> + {}} + disabled={readOnly} + > + App rollbacks + + + + + bartender-backend}> + {}} + disabled={readOnly} + > + Read + + + {}} + disabled={readOnly} + > + Write + + + {}} + disabled={readOnly} + > + Create + + + {}} + disabled={readOnly} + > + Delete + + + Tabs}> + {}} + disabled={readOnly} + > + Notifications + + + {}} + disabled={readOnly} + > + Activity + + + {}} + disabled={readOnly} + > + Overview + + + {}} + disabled={readOnly} + > + Logs + + + {}} + disabled={readOnly} + > + Metrics + + + {}} + disabled={readOnly} + > + Environment + + + {}} + disabled={readOnly} + > + Build settings + + + {}} + disabled={readOnly} + > + Settings + + + + Actions}> + {}} + disabled={readOnly} + > + App rollbacks + + + + Datastores}>