Skip to content

Commit 6a050c9

Browse files
committed
fix: [torrust#801] fixed authorization definition
1 parent a804624 commit 6a050c9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/services/authorization.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ pub enum ACTION {
5252
GetCanonicalInfoHash,
5353
ChangePassword,
5454
BanUser,
55-
GenerateUserProfilesListing,
55+
GenerateUserProfileSpecification,
5656
}
5757

5858
pub struct Service {
@@ -273,6 +273,7 @@ impl Default for CasbinConfiguration {
273273
guest, GetTorrentInfo
274274
guest, GenerateTorrentInfoListing
275275
guest, GetCanonicalInfoHash
276+
guest, GenerateUserProfileSpecification
276277
",
277278
),
278279
}

0 commit comments

Comments
 (0)