From 35db2e0c43e057a7a2f51d5dda733118b58cdcd8 Mon Sep 17 00:00:00 2001 From: maliming Date: Fri, 20 Jun 2025 13:31:22 +0800 Subject: [PATCH] Update hangfire.md --- docs/en/framework/infrastructure/background-jobs/hangfire.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/framework/infrastructure/background-jobs/hangfire.md b/docs/en/framework/infrastructure/background-jobs/hangfire.md index 43029647f5..23c9c5ccd7 100644 --- a/docs/en/framework/infrastructure/background-jobs/hangfire.md +++ b/docs/en/framework/infrastructure/background-jobs/hangfire.md @@ -160,7 +160,7 @@ app.UseAbpHangfireDashboard("/hangfire", options => * **`enableTenant` (`bool`, default: `false`):** Enables/disables accessing the Hangfire dashboard on tenant users. * **`requiredPermissionName` (`string`, default: `null`):** Hangfire dashboard is accessible only if the current user has the specified permission. -* **`requiredRoleNames` (`string[]`, default: `null`):** Hangfire dashboard is accessible only if the current user has one of the specified roles. +* **`requiredRoleNames` (`string[]`, default: `[]`):** Hangfire dashboard is accessible only if the current user has one of the specified roles. If you want to require more policies, You can use the `PolicyBuilder` property of the `AbpHangfireAuthorizationFilter` class.