O'Reilly logo

CMS Made Simple Development Cookbook by Samuel Goldstein

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating and enforcing new permissions for your module's administration

Permissions, in CMS Made Simple, are used for two major and related purposes: enforcing security via access control, and interface simplification. Access control is mostly self-explanatory: you only allow users to take actions that they are authorized to perform. Interface simplification is the related process of only displaying interface elements to users who will need to use them. If someone performs the role of an editor, there's no point in showing them interfaces for updating templates.

CMS Made Simple has a built-in group-based permission system for implementing both purposes. This recipe demonstrates how to use it.

How to do it...

  1. Using any of the methods described in ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required