Browse Source

Update hangfire.md

pull/23119/head
maliming 1 year ago
committed by GitHub
parent
commit
35db2e0c43
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      docs/en/framework/infrastructure/background-jobs/hangfire.md

2
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.

Loading…
Cancel
Save