Class FolderAndFilePermissionsCheck
Health check for the folder and file permissions.
Namespace: Umbraco.Cms.Core.HealthChecks.Checks.Permissions
Assembly: Umbraco.Core.dll
Syntax
public class FolderAndFilePermissionsCheck : HealthCheck, IDiscoverable
Constructors
View SourceFolderAndFilePermissionsCheck(ILocalizedTextService, IFilePermissionHelper)
Initializes a new instance of the FolderAndFilePermissionsCheck class.
Declaration
public FolderAndFilePermissionsCheck(ILocalizedTextService textService, IFilePermissionHelper filePermissionHelper)
Parameters
Type | Name | Description |
---|---|---|
ILocalizedTextService | textService | |
IFilePermissionHelper | filePermissionHelper |
Methods
View SourceExecuteAction(HealthCheckAction)
Executes the action and returns it's status
Declaration
public override HealthCheckStatus ExecuteAction(HealthCheckAction action)
Parameters
Type | Name | Description |
---|---|---|
HealthCheckAction | action |
Returns
Type | Description |
---|---|
HealthCheckStatus |
GetStatus()
Get the status for this health check
Declaration
public override Task<IEnumerable<HealthCheckStatus>> GetStatus()
Returns
Type | Description |
---|---|
Task<IEnumerable<HealthCheckStatus>> |