Skip to content

Commit efa2b00

Browse files
authoredMay 30, 2024
[Profile] Add new virtual tables to permissionsets (#1209)
<!-- Thank you for submitting a Pull Request. If you're new to contributing to BCApps please read our pull request guideline below * https://github.com/microsoft/BCApps/Contributing.md --> #### Summary <!-- Provide a general summary of your changes --> Use new system profile tables to the existing permission sets. #### Work Item(s) <!-- Add the issue number here after the #. The issue needs to be open and approved. Submitting PRs with no linked issues or unapproved issues is highly discouraged. --> Fixes [AB#534267](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/534267)
1 parent eb72057 commit efa2b00

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
lines changed
 

‎src/System Application/App/Permissions/MetadataRead.PermissionSet.al

+2-4
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ permissionset 87 "Metadata - Read"
2222
"Table Information - Read";
2323

2424
Permissions = tabledata "All Profile" = R,
25+
tabledata "All Profile Extension" = R,
26+
tabledata "All Profile Page Metadata" = R,
2527
tabledata AllObj = R,
2628
tabledata "CodeUnit Metadata" = R,
2729
tabledata Date = R,
@@ -33,13 +35,9 @@ permissionset 87 "Metadata - Read"
3335
tabledata "Report Metadata" = R,
3436
tabledata "System Object" = R,
3537
tabledata "Table Metadata" = R,
36-
#pragma warning disable AL0432
3738
tabledata "Tenant Profile" = R,
38-
#pragma warning restore AL0432
3939
tabledata "Tenant Profile Extension" = R,
40-
#pragma warning disable AL0432
4140
tabledata "Tenant Profile Page Metadata" = R,
42-
#pragma warning restore AL0432
4341
tabledata "Tenant Profile Setting" = R,
4442
tabledata "Time Zone" = R,
4543
tabledata "Windows Language" = R;

‎src/System Application/App/Permissions/SystemTablesBasic.PermissionSet.al

+1-2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ permissionset 66 "System Tables - Basic"
3737

3838
Permissions = tabledata "Add-in" = R,
3939
tabledata "Aggregate Permission Set" = Rimd,
40+
tabledata "All Profile Page Metadata" = Rimd,
4041
#if not CLEAN22
4142
#pragma warning disable AL0432
4243
tabledata Chart = R,
@@ -63,8 +64,6 @@ permissionset 66 "System Tables - Basic"
6364
tabledata "Signup Context" = R,
6465
tabledata "Style Sheet" = RIMD,
6566
tabledata "System Object" = Rimd,
66-
#pragma warning disable AL0432
6767
tabledata "Tenant Profile Page Metadata" = Rimd,
68-
#pragma warning restore AL0432
6968
tabledata "Token Cache" = Rimd;
7069
}

‎src/System Application/App/System Permissions/permissions/SecuritySystem.PermissionSet.al

+2-4
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ permissionset 162 "SECURITY (System)"
2626
Permissions = system "Tools, Security, Roles" = X,
2727
tabledata "Add-in" = imd,
2828
tabledata "All Profile" = IMD,
29+
tabledata "All Profile Extension" = IMD,
30+
tabledata "All Profile Page Metadata" = IMD,
2931
tabledata AllObj = imd,
3032
tabledata AllObjWithCaption = Rimd,
3133
#if not CLEAN22
@@ -61,13 +63,9 @@ permissionset 162 "SECURITY (System)"
6163
tabledata "SID - Account ID" = Rimd,
6264
tabledata "System Object" = imd,
6365
tabledata "Table Information" = Rimd,
64-
#pragma warning disable AL0432
6566
tabledata "Tenant Profile" = IMD,
66-
#pragma warning restore AL0432
6767
tabledata "Tenant Profile Extension" = IMD,
68-
#pragma warning disable AL0432
6968
tabledata "Tenant Profile Page Metadata" = IMD,
70-
#pragma warning restore AL0432
7169
tabledata "Tenant Profile Setting" = IMD,
7270
tabledata User = RMD,
7371
tabledata "User Property" = Rimd,

0 commit comments

Comments
 (0)