mirror of
https://github.com/stalwartlabs/mail-server.git
synced 2025-12-11 13:56:27 +08:00
IMAP: Wrong permission checked for GETACL
Some checks failed
Scorecard supply-chain security / Scorecard analysis (push) Failing after 3s
Some checks failed
Scorecard supply-chain security / Scorecard analysis (push) Failing after 3s
This commit is contained in:
parent
e01bbf0fde
commit
7c946a683a
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ use utils::map::bitmap::Bitmap;
|
|||
impl<T: SessionStream> Session<T> {
|
||||
pub async fn handle_get_acl(&mut self, request: Request<Command>) -> trc::Result<()> {
|
||||
// Validate access
|
||||
self.assert_has_permission(Permission::ImapAuthenticate)?;
|
||||
self.assert_has_permission(Permission::ImapAclGet)?;
|
||||
|
||||
let op_start = Instant::now();
|
||||
let arguments = request.parse_acl(self.is_utf8)?;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue