Skip to content

Commit fd0ab8e

Browse files
Merge pull request #1157 from KelvinTegelaar/dev
Dev to release
2 parents 90e60f9 + a5a86f7 commit fd0ab8e

22 files changed

+911
-25
lines changed

deployment/AzureDeploymentTemplate.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,9 @@
201201
"dependsOn": ["[resourceId('Microsoft.Web/sites/', variables('funcAppName'))]"],
202202
"properties": {
203203
"RepoUrl": "[parameters('GithubAPIRepository')]",
204+
"repositoryToken": "[parameters('GithubToken')]",
205+
"token": "[parameters('GithubToken')]",
206+
204207
"branch": "master",
205208
"publishRunbook": true,
206209
"IsManualIntegration": true
@@ -250,7 +253,7 @@
250253
"type": "Microsoft.Web/staticSites",
251254
"apiVersion": "2021-01-15",
252255
"name": "[variables('swaName')]",
253-
"location": "centralus",
256+
"location": "[resourceGroup().location]",
254257
"properties": {
255258
"repositoryUrl": "[parameters('GithubRepository')]",
256259
"branch": "main",
@@ -270,7 +273,7 @@
270273
"type": "Microsoft.Web/staticSites/userProvidedFunctionApps",
271274
"apiVersion": "2020-12-01",
272275
"name": "[concat(variables('swaName'), '/', variables('swaName'))]",
273-
"location": "centralus",
276+
"location": "[resourceGroup().location]",
274277
"dependsOn": [
275278
"[resourceId('Microsoft.Web/staticSites', variables('swaName'))]",
276279
"[resourceId('Microsoft.Web/sites/', variables('funcAppName'))]"

deployment/AzureDeploymentTemplate_regionoptions.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,6 @@
201201
"dependsOn": ["[resourceId('Microsoft.Web/sites/', variables('funcAppName'))]"],
202202
"properties": {
203203
"RepoUrl": "[parameters('GithubAPIRepository')]",
204-
"repositoryToken": "[parameters('GithubToken')]",
205-
"token": "[parameters('GithubToken')]",
206-
207204
"branch": "master",
208205
"publishRunbook": true,
209206
"IsManualIntegration": true
@@ -253,7 +250,7 @@
253250
"type": "Microsoft.Web/staticSites",
254251
"apiVersion": "2021-01-15",
255252
"name": "[variables('swaName')]",
256-
"location": "[resourceGroup().location]",
253+
"location": "centralus",
257254
"properties": {
258255
"repositoryUrl": "[parameters('GithubRepository')]",
259256
"branch": "main",
@@ -273,7 +270,7 @@
273270
"type": "Microsoft.Web/staticSites/userProvidedFunctionApps",
274271
"apiVersion": "2020-12-01",
275272
"name": "[concat(variables('swaName'), '/', variables('swaName'))]",
276-
"location": "[resourceGroup().location]",
273+
"location": "centralus",
277274
"dependsOn": [
278275
"[resourceId('Microsoft.Web/staticSites', variables('swaName'))]",
279276
"[resourceId('Microsoft.Web/sites/', variables('funcAppName'))]"

public/GDAPRoles.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
},
154154
{
155155
"ExtensionData": {},
156-
"Description": "Can manage all aspects of Azure AD and Microsoft services that use Azure AD identities.",
156+
"Description": "Can manage all aspects of Azure AD and Microsoft services that use Azure AD identities. This role was formerly known as Global Administrator.",
157157
"IsEnabled": true,
158158
"IsSystem": true,
159159
"Name": "Company Administrator",

public/version_latest.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.14.0
1+
2.15.0

src/_nav.js

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,16 @@ const _nav = [
4848
name: 'Groups',
4949
to: '/identity/administration/groups',
5050
},
51+
{
52+
component: CNavItem,
53+
name: 'Group Templates',
54+
to: '/identity/administration/group-templates',
55+
},
56+
{
57+
component: CNavItem,
58+
name: 'Deploy Group Template',
59+
to: '/identity/administration/deploy-group-template',
60+
},
5161
{
5262
component: CNavItem,
5363
name: 'Roles',
@@ -198,6 +208,11 @@ const _nav = [
198208
name: 'List Policies',
199209
to: '/tenant/conditional/list-policies',
200210
},
211+
{
212+
component: CNavItem,
213+
name: 'List Named Locations',
214+
to: '/tenant/conditional/list-named-locations',
215+
},
201216
{
202217
component: CNavItem,
203218
name: 'Deploy Conditional Access',
@@ -287,7 +302,7 @@ const _nav = [
287302
},
288303
{
289304
component: CNavTitle,
290-
name: 'Endpoint Management',
305+
name: 'Intune',
291306
},
292307
{
293308
component: CNavGroup,
@@ -364,7 +379,7 @@ const _nav = [
364379
},
365380
{
366381
component: CNavGroup,
367-
name: 'MEM (Intune)',
382+
name: 'Device Management',
368383
section: 'Endpoint Management',
369384
to: '/endpoint/MEM',
370385
icon: <FontAwesomeIcon icon={faExchangeAlt} className="nav-icon" />,
@@ -594,6 +609,11 @@ const _nav = [
594609
name: 'GDAP Migration Status',
595610
to: '/tenant/administration/gdap-status',
596611
},
612+
{
613+
component: CNavItem,
614+
name: 'Application Approval',
615+
to: '/tenant/administration/appapproval',
616+
},
597617
{
598618
component: CNavItem,
599619
name: 'Documentation',

src/adminRoutes.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,15 @@ const Setup = React.lazy(() => import('src/views/cipp/Setup'))
44
const ApplyStandard = React.lazy(() => import('src/views/tenant/standards/ApplyStandard'))
55
const GDAPStatus = React.lazy(() => import('src/views/tenant/administration/ListGDAPQueue'))
66
const GDAP = React.lazy(() => import('src/views/tenant/administration/GDAPWizard'))
7+
const appapproval = React.lazy(() => import('src/views/cipp/AppApproval'))
78

89
const adminRoutes = [
910
{ path: '/cipp', name: 'CIPP' },
1011
{ path: '/cipp/cipp', name: 'CIPP' },
1112
{ path: '/cipp/settings', name: 'Settings', component: CIPPSettings },
1213
{ path: '/cipp/setup', name: 'Setup', component: Setup },
1314
{ path: '/tenant/administration/gdap', name: 'GDAP Wizard', component: GDAP },
15+
{ path: '/tenant/administration/appapproval', name: 'App Approval', component: appapproval },
1416
{ path: '/tenant/administration/gdap-status', name: 'GDAP Status', component: GDAPStatus },
1517
{ path: '/tenant/standards/apply-standard', name: 'Apply Standard', component: ApplyStandard },
1618
]

src/components/forms/RFFComponents.js

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -258,11 +258,20 @@ RFFCFormSelect.propTypes = {
258258
values: PropTypes.arrayOf(PropTypes.shape({ label: PropTypes.string, value: PropTypes.any })),
259259
}
260260

261-
export function Condition({ when, is, children }) {
261+
export function Condition({ when, is, children, like }) {
262262
return (
263-
<Field name={when} subscription={{ value: true }}>
264-
{({ input: { value } }) => (value === is ? children : null)}
265-
</Field>
263+
<>
264+
{is && (
265+
<Field name={when} subscription={{ value: true }}>
266+
{({ input: { value } }) => (value === is ? children : null)}
267+
</Field>
268+
)}
269+
{like && (
270+
<Field name={when} subscription={{ value: true }}>
271+
{({ input: { value } }) => (value.includes(like) ? children : null)}
272+
</Field>
273+
)}
274+
</>
266275
)
267276
}
268277

src/components/utilities/TenantSelector.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const TenantSelector = ({ action, showAllTenantSelector = true, NavSelector = fa
3535
)
3636

3737
useEffect(() => {
38-
const Paramcount = searchParams.length
38+
const Paramcount = Array.from(searchParams).length
3939
if (Paramcount <= 1) {
4040
const customerId = searchParams.get('customerId')
4141
if (customerId && isSuccess) {
@@ -59,7 +59,7 @@ const TenantSelector = ({ action, showAllTenantSelector = true, NavSelector = fa
5959
if (typeof action === 'function') {
6060
action(selectedTenant[0])
6161
} else {
62-
setSearchParams({ customerId: currentTenant?.customerId })
62+
setSearchParams({ customerId: customerId })
6363
}
6464
}
6565

src/routes.js

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ const EditUser = React.lazy(() => import('src/views/identity/administration/Edit
1010
const ViewUser = React.lazy(() => import('src/views/identity/administration/ViewUser'))
1111
const Groups = React.lazy(() => import('src/views/identity/administration/Groups'))
1212
const AddGroup = React.lazy(() => import('src/views/identity/administration/AddGroup'))
13+
const AddGroupTemplates = React.lazy(() =>
14+
import('src/views/identity/administration/AddGroupTemplate'),
15+
)
16+
const DeployGroupTemplates = React.lazy(() =>
17+
import('src/views/identity/administration/DeployGroupTemplate'),
18+
)
19+
const GroupTemplates = React.lazy(() => import('src/views/identity/administration/GroupTemplates'))
20+
1321
const EditGroup = React.lazy(() => import('src/views/identity/administration/EditGroup'))
1422
const ViewGroup = React.lazy(() => import('src/views/identity/administration/ViewGroup'))
1523
const Roles = React.lazy(() => import('src/views/identity/administration/Roles'))
@@ -25,6 +33,8 @@ const GraphExplorer = React.lazy(() => import('src/views/tenant/administration/G
2533
const Domains = React.lazy(() => import('src/views/tenant/administration/Domains'))
2634
const EditTenant = React.lazy(() => import('src/views/tenant/administration/EditTenant'))
2735
const ConditionalAccess = React.lazy(() => import('src/views/tenant/conditional/ConditionalAccess'))
36+
const NamedLocations = React.lazy(() => import('src/views/tenant/conditional/NamedLocations'))
37+
2838
const ListConditionalTemplates = React.lazy(() =>
2939
import('src/views/tenant/conditional/ListCATemplates'),
3040
)
@@ -187,6 +197,21 @@ const routes = [
187197
{ path: '/identity/administration', name: 'Administration' },
188198
{ path: '/identity/administration/users', name: 'Users', component: Users },
189199
{ path: '/identity/administration/groups/add', name: 'Add Group', component: AddGroup },
200+
{
201+
path: '/identity/administration/group-templates',
202+
name: 'Group Templates',
203+
component: GroupTemplates,
204+
},
205+
{
206+
path: '/identity/administration/group-add-template',
207+
name: 'Add Group Template',
208+
component: AddGroupTemplates,
209+
},
210+
{
211+
path: '/identity/administration/deploy-group-template',
212+
name: 'Deploy Group Template',
213+
component: DeployGroupTemplates,
214+
},
190215
{ path: '/identity/administration/groups/edit', name: 'Edit Group', component: EditGroup },
191216
{ path: '/identity/administration/groups/view', name: 'View Group', component: ViewGroup },
192217
{ path: '/identity/administration/groups', name: 'Groups', component: Groups },
@@ -243,6 +268,11 @@ const routes = [
243268
name: 'Conditional Access',
244269
component: ConditionalAccess,
245270
},
271+
{
272+
path: '/tenant/conditional/list-named-locations',
273+
name: 'Named Locations',
274+
component: NamedLocations,
275+
},
246276
{
247277
path: '/tenant/conditional/deploy',
248278
name: 'Deploy Conditional Access',

0 commit comments

Comments
 (0)