Skip to content

Commit 15cfdda

Browse files
committed
feat: [torrust#802] new authorization action
1 parent b6e4adf commit 15cfdda

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/services/authorization.rs

+2
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ pub enum ACTION {
5353
ChangePassword,
5454
BanUser,
5555
GenerateUserProfilesListing,
56+
ResetUserPassword,
5657
}
5758

5859
pub struct Service {
@@ -250,6 +251,7 @@ impl Default for CasbinConfiguration {
250251
admin, ChangePassword
251252
admin, BanUser
252253
admin, GenerateUserProfilesListing
254+
admin, ResetUserPassword
253255
registered, GetAboutPage
254256
registered, GetLicensePage
255257
registered, GetCategories

0 commit comments

Comments
 (0)