This, that and the other (may contain nuts)

Hiding advanced sections in blog template for users

Steve Castledine  4 November 2008 09:43:10
Just a quick tip today, I have a lot of work I need to complete by close and its my wife's birthday so I guess I should finish work before 10pm (kidding).

By default the blog template is a "personal tool" and there is no real restriction on what you can do. User's can go into the configuration, they can also change the theme etc at will. Most of this is accessed via the "advanced" link.

Image:Hiding advanced sections in blog template for users
Within the enterprise, administrators (don't you just love them ;) ) like to add restrictions. So in order to distract them whilst you update a live system with your "new feature" we have a role "[basic]" (added at 8.01) which restricts what the user sees. Note that this is a visual restriction and not "security" against. A knowledgeable user could poke around in the "innards" of the database and find ways of changing stuff.

So by adding the role to a user or a group (in standard client you may need to restart to take effect), this advanced link is no longer shown:

Image:Hiding advanced sections in blog template for users
Image:Hiding advanced sections in blog template for users
This also hides the "Show HTML Options" section when you create content:

Image:Hiding advanced sections in blog template for users
Image:Hiding advanced sections in blog template for users