Skip to content

Commit

Permalink
Merge pull request KelvinTegelaar#2248 from KelvinTegelaar/dev
Browse files Browse the repository at this point in the history
Dev to hotfix
  • Loading branch information
JohnDuprey authored Mar 22, 2024
2 parents c2e94b0 + a9ff314 commit f052bc9
Show file tree
Hide file tree
Showing 10 changed files with 36 additions and 6,549 deletions.
6,544 changes: 6 additions & 6,538 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cipp",
"version": "5.3.1",
"version": "5.3.2",
"description": "The CyberDrain Improved Partner Portal is a portal to help manage administration for Microsoft Partners.",
"homepage": "https://cipp.app/",
"bugs": {
Expand Down
2 changes: 1 addition & 1 deletion public/version_latest.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.3.1
5.3.2
10 changes: 10 additions & 0 deletions src/data/standards.json
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,16 @@
"impact": "Low Impact",
"impactColour": "info"
},
{
"name": "standards.DisableAppCreation",
"cat": "Entra (AAD) Standards",
"tag": ["lowimpact", "CIS"],
"helpText": "Disables the ability for users to create App registrations in the tenant.",
"addedComponent": [],
"label": "Disable App creation by users",
"impact": "Low Impact",
"impactColour": "info"
},
{
"name": "standards.DisableSecurityGroupUsers",
"cat": "Entra (AAD) Standards",
Expand Down
2 changes: 1 addition & 1 deletion src/views/cipp/Scheduler.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ const Scheduler = () => {
name: 'Parameters',
selector: (row) => row['Parameters'],
sortable: true,
cell: (row) => CellTip(row['Parameters']),
cell: cellGenericFormatter(),
exportSelector: 'Parameters',
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/views/cipp/Statistics.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const Statistics = () => {
const { data, isFetching, error, isSuccess } = useGenericGetRequestQuery({
path: '/api/ListFunctionStats',
params: {
FunctionType: 'Queue',
FunctionType: 'Durable',
Interval: interval,
Time: time,
TenantFilter: tenant?.defaultDomainName,
Expand Down
10 changes: 6 additions & 4 deletions src/views/identity/administration/Users.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,12 @@ import CippGraphUserFilter from 'src/components/utilities/CippGraphUserFilter'
const Offcanvas = (row, rowIndex, formatExtraData) => {
const tenant = useSelector((state) => state.app.currentTenant)
const [ocVisible, setOCVisible] = useState(false)
const viewLink = `/identity/administration/users/view?userId=${row.id}&tenantDomain=${tenant.defaultDomainName}&userEmail=${row.userPrincipalName}`
const editLink = `/identity/administration/users/edit?userId=${row.id}&tenantDomain=${tenant.defaultDomainName}`
const OffboardLink = `/identity/administration/offboarding-wizard?userId=${row.id}&tenantDomain=${tenant.defaultDomainName}`
const viewLink = row?.tenant
? `/identity/administration/users/view?userId=${row.id}&tenantDomain=${row.Tenant}&userEmail=${row.userPrincipalName}`
: `/identity/administration/users/view?userId=${row.id}&tenantDomain=${tenant.defaultDomainName}&userEmail=${row.userPrincipalName}`
const editLink = row?.tenant
? `/identity/administration/users/edit?userId=${row.id}&tenantDomain=${row.Tenant}`
: `/identity/administration/users/edit?userId=${row.id}&tenantDomain=${tenant.defaultDomainName}`
const entraLink = `https://entra.microsoft.com/${tenant.defaultDomainName}/#view/Microsoft_AAD_UsersAndTenants/UserProfileMenuBlade/~/UserAuthMethods/userId/${row.id}/hidePreviewBanner~/true`

let licenses = []
Expand All @@ -31,7 +34,6 @@ const Offcanvas = (row, rowIndex, formatExtraData) => {
})
var licJoined = licenses.join(', ')

//console.log(row)
return (
<>
<Link to={viewLink}>
Expand Down
4 changes: 2 additions & 2 deletions src/views/tenant/administration/AlertRules.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,14 @@ const AlertRules = () => {
name: 'If',
selector: (row) => row['if'],
sortable: true,
cell: cellBadgeFormatter(),
cell: cellGenericFormatter(),
exportSelector: 'if',
},
{
name: 'Execute',
selector: (row) => row['execution'],
sortable: true,
cell: (row) => CellTip(row['execution']),
cell: cellGenericFormatter(),
exportSelector: 'execution',
},
{
Expand Down
7 changes: 7 additions & 0 deletions src/views/tenant/standards/ListAppliedStandards.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,13 @@ const ApplyNewStandard = () => {
label={component.label}
/>
)}
{component.type === 'boolean' && (
<RFFCFormSwitch
name={component.name}
label={component.label}
initialValue={component.default}
/>
)}
{component.type === 'AdminRolesMultiSelect' && (
<RFFSelectSearch
multi={true}
Expand Down
2 changes: 1 addition & 1 deletion version_latest.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.3.1
5.3.2

0 comments on commit f052bc9

Please sign in to comment.