Change access control to avoid additional messages
This topic is the fourth in a list of tasks that tells you how to grant access to subscribe to topics by more than one user and to avoid additional RACF® ICH408I messages on z/OS®.
Before you begin
About this task
Define a new topic object as follows:
Procedure
Results
On z/OS, when USER1
attempts to subscribe to topic
the first security check on the Price/Fruit/Apples
hlq.SUBSCRIBE.APPLE
profile succeeds.
Similarly, when USER2
attempts to subscribe to topic
the result is success because the security check passes on the first profile.
Price/Fruit/Apples
When
USER2
attempts to subscribe to topic Price/Fruit/Oranges
the result is failure with an MQRC_NOT_AUTHORIZED
message, together with:- On z/OS, the following messages seen on the console that show the full security path through the topic tree that has been attempted:
ICH408I USER(USER2 ) ... hlq.SUBSCRIBE.ORANGE ... ICH408I USER(USER2 ) ... hlq.SUBSCRIBE.FRUIT ... ICH408I USER(USER2 ) ... hlq.SUBSCRIBE.SYSTEM.BASE.TOPIC ...
- On other platforms, the following authorization event:
MQRC_NOT_AUTHORIZED ReasonQualifier MQRQ_SUB_NOT_AUTHORIZED UserIdentifier USER2 AdminTopicNames ORANGE, FRUIT, SYSTEM.BASE.TOPIC TopicString "Price/Fruit/Oranges"
- On IBMi, the following authorization event:
MQRC_NOT_AUTHORIZED ReasonQualifier MQRQ_SUB_NOT_AUTHORIZED UserIdentifier USER2 AdminTopicNames ORANGE, FRUIT, SYSTEM.BASE.TOPIC TopicString "Price/Fruit/Oranges"