Download "user manual"
Transcript
Security Configuration Now let's look the case where the metadata key is set on a layer group in the <layers>.ini configuration file: layers.group_admin.className = LayerGroup layers.group_admin.children = grid_defaulthilight layers.group_admin.metadata.security_view = admin In this example, the admin role is set for the layerGroup called group_admin. You can notice the very similar syntax as used in the mapfile. Warning Don't forget to set applySecurity to True in the layers.ini CartoClient configuration file, otherwise security metadata keys won't be taken into account. 15.4.2. PDF Printing Permissions The roles management in Pdf printing is explained in detail in Chapter 12, PDF Export. In particular, see Section 12.3.5, “Roles Management”. 114