From e0974c53abce8c522afd136f0f2d0debd800a93a Mon Sep 17 00:00:00 2001 From: Jack Date: Thu, 5 Jun 2025 08:58:52 +0100 Subject: [PATCH 1/2] Added Cursor Rules --- .gitignore | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index e8cef5c36c55..50c2efb4b8d6 100644 --- a/.gitignore +++ b/.gitignore @@ -27,4 +27,8 @@ yarn-error.log* # vscode debug logs debug.log -app.log \ No newline at end of file +app.log + +# Cursor IDE +.cursor/rules + From 9ef8a552010aa13334d05194287b68ec2536585e Mon Sep 17 00:00:00 2001 From: Jr7468 Date: Fri, 6 Jun 2025 22:40:42 +0100 Subject: [PATCH 2/2] Modified CippAddGroupForm to add dynamic membership rules for M365 groups --- .../CippFormPages/CippAddGroupForm.jsx | 45 +++++++++++-------- 1 file changed, 26 insertions(+), 19 deletions(-) diff --git a/src/components/CippFormPages/CippAddGroupForm.jsx b/src/components/CippFormPages/CippAddGroupForm.jsx index 19404676fc68..1150a3c1fc1c 100644 --- a/src/components/CippFormPages/CippAddGroupForm.jsx +++ b/src/components/CippFormPages/CippAddGroupForm.jsx @@ -6,6 +6,21 @@ import { CippFormCondition } from "/src/components/CippComponents/CippFormCondit import { CippFormDomainSelector } from "../CippComponents/CippFormDomainSelector"; import { CippFormUserSelector } from "../CippComponents/CippFormUserSelector"; +const DynamicMembershipRules = ({ formControl }) => ( + + + +); + const CippAddGroupForm = (props) => { const { formControl } = props; @@ -101,25 +116,17 @@ const CippAddGroupForm = (props) => { /> - - - - - + {["dynamic", "dynamicDistribution", "m365"].map((groupType) => ( + + + + ))} ); };