-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1378 from bcgov/BCMOHAD-24687_V1
BCMOHAD-24687 & BCMOHAD-24689
- Loading branch information
Showing
5 changed files
with
263 additions
and
0 deletions.
There are no files selected for viewing
113 changes: 113 additions & 0 deletions
113
force-app/main/default/reportTypes/User_with_Permission_set.reportType-meta.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ReportType xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<baseObject>User</baseObject> | ||
<category>other</category> | ||
<deployed>true</deployed> | ||
<description>User with Permission set</description> | ||
<join> | ||
<outerJoin>false</outerJoin> | ||
<relationship>PermissionSetAssignments</relationship> | ||
</join> | ||
<label>User with Permission set</label> | ||
<sections> | ||
<columns> | ||
<checkedByDefault>false</checkedByDefault> | ||
<field>IsActive</field> | ||
<table>User</table> | ||
</columns> | ||
<columns> | ||
<checkedByDefault>false</checkedByDefault> | ||
<field>CreatedBy</field> | ||
<table>User</table> | ||
</columns> | ||
<columns> | ||
<checkedByDefault>false</checkedByDefault> | ||
<field>CreatedDate</field> | ||
<table>User</table> | ||
</columns> | ||
<columns> | ||
<checkedByDefault>true</checkedByDefault> | ||
<field>Name</field> | ||
<table>User</table> | ||
</columns> | ||
<columns> | ||
<checkedByDefault>false</checkedByDefault> | ||
<field>Keycloak_Roles__c</field> | ||
<table>User</table> | ||
</columns> | ||
<columns> | ||
<checkedByDefault>false</checkedByDefault> | ||
<field>LastLoginDate</field> | ||
<table>User</table> | ||
</columns> | ||
<columns> | ||
<checkedByDefault>false</checkedByDefault> | ||
<field>LastModifiedBy</field> | ||
<table>User</table> | ||
</columns> | ||
<columns> | ||
<checkedByDefault>false</checkedByDefault> | ||
<field>LastModifiedDate</field> | ||
<table>User</table> | ||
</columns> | ||
<columns> | ||
<checkedByDefault>false</checkedByDefault> | ||
<field>LastPasswordChangeDate</field> | ||
<table>User</table> | ||
</columns> | ||
<columns> | ||
<checkedByDefault>false</checkedByDefault> | ||
<field>Profile</field> | ||
<table>User</table> | ||
</columns> | ||
<columns> | ||
<checkedByDefault>false</checkedByDefault> | ||
<field>UserRole</field> | ||
<table>User</table> | ||
</columns> | ||
<columns> | ||
<checkedByDefault>false</checkedByDefault> | ||
<field>Id</field> | ||
<table>User</table> | ||
</columns> | ||
<columns> | ||
<checkedByDefault>false</checkedByDefault> | ||
<field>UserType</field> | ||
<table>User</table> | ||
</columns> | ||
<columns> | ||
<checkedByDefault>false</checkedByDefault> | ||
<field>Assignee</field> | ||
<table>User.PermissionSetAssignments</table> | ||
</columns> | ||
<columns> | ||
<checkedByDefault>false</checkedByDefault> | ||
<field>Username</field> | ||
<table>User</table> | ||
</columns> | ||
<masterLabel>Users</masterLabel> | ||
</sections> | ||
<sections> | ||
<columns> | ||
<checkedByDefault>false</checkedByDefault> | ||
<field>ExpirationDate</field> | ||
<table>User.PermissionSetAssignments</table> | ||
</columns> | ||
<columns> | ||
<checkedByDefault>false</checkedByDefault> | ||
<field>PermissionSet</field> | ||
<table>User.PermissionSetAssignments</table> | ||
</columns> | ||
<columns> | ||
<checkedByDefault>false</checkedByDefault> | ||
<field>Id</field> | ||
<table>User.PermissionSetAssignments</table> | ||
</columns> | ||
<columns> | ||
<checkedByDefault>false</checkedByDefault> | ||
<field>PermissionSetGroup</field> | ||
<table>User.PermissionSetAssignments</table> | ||
</columns> | ||
<masterLabel>Permission Set Assignments (User)</masterLabel> | ||
</sections> | ||
</ReportType> |
9 changes: 9 additions & 0 deletions
9
force-app/main/default/reports/UserSetup.reportFolder-meta.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ReportFolder xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<folderShares> | ||
<accessLevel>Manage</accessLevel> | ||
<sharedTo>[email protected]</sharedTo> | ||
<sharedToType>User</sharedToType> | ||
</folderShares> | ||
<name>User Setup</name> | ||
</ReportFolder> |
44 changes: 44 additions & 0 deletions
44
force-app/main/default/reports/UserSetup/ActiveUserReports.report-meta.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Report xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<columns> | ||
<field>FULL_NAME</field> | ||
</columns> | ||
<columns> | ||
<field>PROFILE</field> | ||
</columns> | ||
<columns> | ||
<field>USERNAME</field> | ||
</columns> | ||
<columns> | ||
<field>ACTIVE</field> | ||
</columns> | ||
<columns> | ||
<field>LAST_LOGIN</field> | ||
</columns> | ||
<columns> | ||
<field>ROLE</field> | ||
</columns> | ||
<columns> | ||
<field>User.Keycloak_Roles__c</field> | ||
</columns> | ||
<format>Tabular</format> | ||
<name>Active User Reports</name> | ||
<params> | ||
<name>active</name> | ||
<value>active</value> | ||
</params> | ||
<params> | ||
<name>co</name> | ||
<value>1</value> | ||
</params> | ||
<reportType>User</reportType> | ||
<showDetails>true</showDetails> | ||
<showGrandTotal>true</showGrandTotal> | ||
<showSubTotals>true</showSubTotals> | ||
<sortColumn>ROLE</sortColumn> | ||
<sortOrder>Asc</sortOrder> | ||
<timeFrameFilter> | ||
<dateColumn>LAST_LOGIN</dateColumn> | ||
<interval>INTERVAL_CUSTOM</interval> | ||
</timeFrameFilter> | ||
</Report> |
63 changes: 63 additions & 0 deletions
63
force-app/main/default/reports/UserSetup/Active_User_with_Permission_Set_ZnX.report-meta.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Report xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<columns> | ||
<field>User$Name</field> | ||
</columns> | ||
<columns> | ||
<field>User.PermissionSetAssignments$PermissionSetGroup</field> | ||
</columns> | ||
<columns> | ||
<field>User.PermissionSetAssignments$PermissionSet</field> | ||
</columns> | ||
<columns> | ||
<field>User$UserRole</field> | ||
</columns> | ||
<columns> | ||
<field>User$Profile</field> | ||
</columns> | ||
<columns> | ||
<field>User*User$Keycloak_Roles__c</field> | ||
</columns> | ||
<columns> | ||
<field>User$Username</field> | ||
</columns> | ||
<columns> | ||
<aggregateTypes>Sum</aggregateTypes> | ||
<field>User$IsActive</field> | ||
</columns> | ||
<columns> | ||
<field>User.PermissionSetAssignments$ExpirationDate</field> | ||
</columns> | ||
<columns> | ||
<field>User$LastLoginDate</field> | ||
</columns> | ||
<filter> | ||
<criteriaItems> | ||
<column>User$IsActive</column> | ||
<columnToColumn>false</columnToColumn> | ||
<isUnlocked>true</isUnlocked> | ||
<operator>equals</operator> | ||
<value>1</value> | ||
</criteriaItems> | ||
<criteriaItems> | ||
<column>User.PermissionSetAssignments$PermissionSet</column> | ||
<columnToColumn>false</columnToColumn> | ||
<isUnlocked>true</isUnlocked> | ||
<operator>notEqual</operator> | ||
<value></value> | ||
</criteriaItems> | ||
</filter> | ||
<format>Tabular</format> | ||
<name>Active User with Permission Set</name> | ||
<params> | ||
<name>co</name> | ||
<value>1</value> | ||
</params> | ||
<reportType>User_with_Permission_set__c</reportType> | ||
<scope>organization</scope> | ||
<showDetails>true</showDetails> | ||
<showGrandTotal>true</showGrandTotal> | ||
<showSubTotals>false</showSubTotals> | ||
<sortColumn>User$Name</sortColumn> | ||
<sortOrder>Asc</sortOrder> | ||
</Report> |
34 changes: 34 additions & 0 deletions
34
force-app/main/default/reports/UserSetup/License_Summary_CV9.report-meta.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Report xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<columns> | ||
<field>USERNAME</field> | ||
</columns> | ||
<format>Summary</format> | ||
<groupingsDown> | ||
<dateGranularity>Day</dateGranularity> | ||
<field>PROFILE</field> | ||
<sortOrder>Asc</sortOrder> | ||
</groupingsDown> | ||
<groupingsDown> | ||
<dateGranularity>Day</dateGranularity> | ||
<field>ROLE</field> | ||
<sortOrder>Asc</sortOrder> | ||
</groupingsDown> | ||
<name>License Summary</name> | ||
<params> | ||
<name>active</name> | ||
<value>active</value> | ||
</params> | ||
<params> | ||
<name>co</name> | ||
<value>1</value> | ||
</params> | ||
<reportType>User</reportType> | ||
<showDetails>false</showDetails> | ||
<showGrandTotal>true</showGrandTotal> | ||
<showSubTotals>true</showSubTotals> | ||
<timeFrameFilter> | ||
<dateColumn>LAST_LOGIN</dateColumn> | ||
<interval>INTERVAL_CUSTOM</interval> | ||
</timeFrameFilter> | ||
</Report> |