-
Notifications
You must be signed in to change notification settings - Fork 115
Open
Labels
3 - internal Issue/MRA Znuny internal issue/MR has been created.A Znuny internal issue/MR has been created.3 - verifiedThis issue or pull request was verified.This issue or pull request was verified.4 - fixedThis is already fixed. Check Milestone.This is already fixed. Check Milestone.
Milestone
Description
Security Issue Confirmation
- I confirm this is not a security-related issue
Issue Search Confirmation
- I have searched for existing issues and found none that match this problem
Server Operating System
Ubuntu 22.04
Browser
Firefox
Znuny Version
7.2.3
Database Type
MySQL 8.0+
Expected Behavior
Console command Admin::Group::UserLink located at Kernel/System/Console/Command/Admin/Group/UserLink.pm should allow to set 'note' permission
Actual Behavior
Console command Admin::Group::UserLink does not allow to set 'note' permission and returns "Error: please provide a valid value for option '--permission'."
At the same time command Admin::Group::RoleLink allows to set this kind of permission, and system configuration "Core::Permission" contains 'note' permission by default.
Steps to Reproduce
- Create an agent (lets be Agent01)
- Create an group (lets be Group01)
- Try to execute command in teminal 'sudo -su znuny bin/znuny.Console.pl Admin::Group::UserLink --user-name Agent01 --group-name Group01 --permission note
Error Messages
Error: please provide a valid value for option '--permission'.
Additional Information
No response
Screenshots
This issue happes because of 'note' permission is missed in describing AddOption() parameters and is absent in for() cycle at Line 79
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
3 - internal Issue/MRA Znuny internal issue/MR has been created.A Znuny internal issue/MR has been created.3 - verifiedThis issue or pull request was verified.This issue or pull request was verified.4 - fixedThis is already fixed. Check Milestone.This is already fixed. Check Milestone.