Security

The topics that are in a stream are all protected by a single set of security permissions.

You can set these permissions with access-control expressions when you create or edit a stream. For general information about access-control expressions, see Syntax of Access Control Expressions.

adminperm
This permission determines which users can modify access-control expressions for a stream, set up replication of a stream, and modify other attributes of a stream.
copyperm
This permission determines which users can run the mapr copystream and mapr diffstreams utilities on the stream.
Users with this permission can publish messages to topics in a stream, read messages in topics from a stream, and create or remove topics in a stream.
consumeperm
This permission determines which users can read messages in topics from a stream.
produceperm
This permission determines which users can publish messages to topics in a stream.
topicperm
This permission determines which users can create topics in a stream or remove them.

This diagram illustrates the adminperm, consumeperm, produceperm, and topicperm permissions on a stream named traffic_sensors, which includes the topics traffic_sensors_sf and traffic_sensors_ny.

Figure 1. How permissions grant or deny access to a stream