We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a804624 commit 86ed018Copy full SHA for 86ed018
src/services/authorization.rs
@@ -52,7 +52,7 @@ pub enum ACTION {
52
GetCanonicalInfoHash,
53
ChangePassword,
54
BanUser,
55
- GenerateUserProfilesListing,
+ GenerateUserProfileSpecification,
56
}
57
58
pub struct Service {
src/services/user.rs
@@ -377,7 +377,7 @@ impl ListingService {
377
request: &ListingRequest,
378
) -> Result<ListingSpecification, ServiceError> {
379
self.authorization_service
380
- .authorize(ACTION::GenerateUserProfilesListing, maybe_user_id)
+ .authorize(ACTION::GenerateUserProfileSpecification, maybe_user_id)
381
.await?;
382
383
let settings = self.configuration.settings.read().await;
0 commit comments