Original Message:
Sent: Tue August 13, 2024 03:46 PM
From: Morag Hughson
Subject: MQ Explore read only
Hi Joao,
The user can only issue setmqaut or the equivalent MQSC SET AUTHREC or PCF SetAuthRec commands if he has authority to do so. This is true for all commands. Just having PUT access to the command server's input queue does not in itself grant you authority to issue commands, you must also the authority for the actual commands as well.
Cheers,
Morag
------------------------------
Morag Hughson
MQ Technical Education Specialist
MQGem Software Limited
Website: https://www.mqgem.com
------------------------------
Original Message:
Sent: Tue August 13, 2024 09:34 AM
From: Joao Ramires
Subject: MQ Explore read only
thanks Martin,
and the user that puts a PCF messages can alter his own access to other queues? For example do, with a PCF, the equivalent to
setmqaut -m QMgrName -n ** -t queue -g GroupName +browse +get ?
------------------------------
Joao Ramires
Original Message:
Sent: Tue August 13, 2024 05:44 AM
From: Martin Evans
Subject: MQ Explore read only
Hi Joao,
The user that put the PCF message must have authority to access the objects(s) it is working with. That's why you need the other authorisations listed in the link, for example you wouldn't be able to browse queues without setmqaut -m QMgrName -n ** -t queue -g GroupName +browse +dsp the ** is a special wildcard that applies to all queues.
------------------------------
Regards,
Martin Evans
IBM MQ Technical Product Manager
Original Message:
Sent: Tue August 13, 2024 05:33 AM
From: Joao Ramires
Subject: MQ Explore read only
Hi Martin
thanks for your reply. I know about that link, but what makes me some confusing is the:
setmqaut -m QMgrName -n SYSTEM.ADMIN.COMMAND.QUEUE -t queue -g GroupName +dsp +inq +put
a user with put authority to SYSTEM.ADMIN.COMMAND.QUEUE can do whatever he wants on a queue manager, for example using PCF messages. Or I'm I wrong?
Regards
------------------------------
Joao Ramires
Original Message:
Sent: Tue August 13, 2024 05:05 AM
From: Martin Evans
Subject: MQ Explore read only
Hi Joao,
I presume you are looking at,
https://www.ibm.com/docs/en/ibm-mq/9.4?topic=grar-granting-read-only-access-all-resources-queue-manager
Authority to access an object is still required even if you can put a message on the command queue.
------------------------------
Regards,
Martin Evans
IBM MQ Technical Product Manager