Use these commands in wsadmin to add users and groups to topic roles.
To introduce an additional level of access permission within a topic space, add the users or groups to Sender or Receiver roles at any level in the topic hierarchy that they need to access.
$AdminTask addUserToTopicRole
{-bus busName
-topicSpace topicSpaceName
-topic topicName
-role roleName
-user userName}
$AdminTask addGroupToTopicRole
{-bus busName
-topicSpace topicSpaceName
-topic topicName
-role roleName
-group groupName}
$AdminConfig save