Skip to content

Commit

Permalink
Add External File Storage permissions and update related namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
IceOnly committed Dec 19, 2024
1 parent 449f813 commit 17cc416
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ namespace System.Security.AccessControl;
using System.Azure.Identity;
using System.Environment.Configuration;
using System.Email;
using System.ExternalFileStorage;
using System.Apps;
using System.Integration;

Expand All @@ -25,6 +26,7 @@ entitlement "Delegated Admin agent - Partner"
"Exten. Mgt. - Admin",
"Email - Admin",
"Feature Key - Admin",
"File Storage - Admin",
"VSC Intgr. - Admin";
#pragma warning restore
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ permissionset 9452 "File Storage - Objects"
Assignable = false;

Permissions =
codeunit "File Account" = X,
codeunit "External File Storage" = X,
codeunit "File Pagination Data" = X,
codeunit "File Scenario" = X,
table "File Account" = X,
table "File Account Content" = X,
table "File Account Scenario" = X,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ namespace System.ExternalFileStorage;
codeunit 9450 "File Account"
{
Access = Public;
InherentPermissions = X;
InherentEntitlements = X;

/// <summary>
/// Gets all of the file accounts registered in Business Central.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ namespace System.ExternalFileStorage;

codeunit 9454 "External File Storage"
{
InherentPermissions = X;
InherentEntitlements = X;

var
ExternalFileStorageImpl: Codeunit "External File Storage Impl.";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ namespace System.ExternalFileStorage;

codeunit 9456 "File Pagination Data"
{
InherentPermissions = X;
InherentEntitlements = X;

var
FilePaginationDataImpl: Codeunit "File Pagination Data Impl.";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ namespace System.ExternalFileStorage;
/// </summary>
codeunit 9452 "File Scenario"
{
InherentPermissions = X;
InherentEntitlements = X;

/// <summary>
/// Gets the default file account.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ namespace System.Security.AccessControl;
using System.Visualization;
using System.Privacy;
using System.Email;
using System.ExternalFileStorage;
using System.Text;
using System.Environment.Configuration;
using System.Globalization;
Expand All @@ -23,6 +24,7 @@ permissionset 22 "System Application - Edit"
"Data Classification - Edit",
"Email - Edit",
"Entity Text - Edit",
"File Storage - Edit",
"Guided Experience - Edit",
"Language - Edit",
"PageScripting - Rec",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ using System.Privacy;
using System.Reflection;
using System.Integration;
using System.Integration.Excel;
using System.ExternalFileStorage;
using System.Email;
using System.Text;
using System.Globalization;
Expand Down Expand Up @@ -42,6 +43,7 @@ permissionset 219 "System Application - Objects"
"Entity Text - Objects",
"Extension Management - Objects",
"Feature Key - Objects",
"File Storage - Objects",
"Guided Experience - Objects",
"Language - Objects",
"Page Summary Provider - Obj.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ using System.Visualization;
using System.Privacy;
using System.Environment.Configuration;
using System.Integration.Excel;
using System.ExternalFileStorage;
using System.Reflection;
using System.Globalization;
using System.Integration;
Expand Down Expand Up @@ -39,6 +40,7 @@ permissionset 21 "System Application - Read"
"Extension Management - Read",
"Feature Key - Read",
"Field Selection - Read",
"File Storage - Read",
"Guided Experience - Read",
"Headlines - Read",
"Object Selection - Read",
Expand Down

0 comments on commit 17cc416

Please sign in to comment.