<?php

return array(

  'administrator' => array(

    'headers' => true,
    'content.page' => true,
    'footers' => true,
    'layouts' => true,
    'templates' => true,
    'content.cs_global_block' => true,
    'colors' => true,
    'fonts' => true,
    'theme_options' => true,

  ),

  '_default' => array(

    'headers.create' => true,
    'headers.create_from_template' => true,
    'headers.rename' => true,
    'headers.delete' => true,
    'headers.save_as_template' => true,
    'headers.manage_assignments' => true,
    'headers.manage_layout' => true,
    'headers.elements_create' => true,
    'headers.elements_delete' => true,
    'headers.elements_move' => true,
    'headers.elements_inspect' => true,
    'headers.apply_presets' => true,
    'headers.save_presets' => true,
    'headers.design_controls' => true,
    'headers.customize_controls' => true,
    'headers.edit_custom_css' => true,
    'headers.edit_custom_js' => true,
    'headers.skeleton_mode' => true,
    'headers.inline_edit' => true,
    'headers.dynamic_content' => true,

    'footers.create' => true,
    'footers.create_from_template' => true,
    'footers.rename' => true,
    'footers.delete' => true,
    'footers.save_as_template' => true,
    'footers.manage_assignments' => true,
    'footers.manage_layout' => true,
    'footers.elements_create' => true,
    'footers.elements_delete' => true,
    'footers.elements_move' => true,
    'footers.elements_inspect' => true,
    'footers.apply_presets' => true,
    'footers.save_presets' => true,
    'footers.design_controls' => true,
    'footers.customize_controls' => true,
    'footers.edit_custom_css' => true,
    'footers.edit_custom_js' => true,
    'footers.skeleton_mode' => true,
    'footers.inline_edit' => true,
    'footers.dynamic_content' => true,

    'layouts.create' => true,
    'layouts.create_from_template' => true,
    'layouts.rename' => true,
    'layouts.delete' => true,
    'layouts.save_as_template' => true,
    'layouts.manage_assignments' => true,
    'layouts.manage_layout' => true,
    'layouts.elements_create' => true,
    'layouts.elements_delete' => true,
    'layouts.elements_move' => true,
    'layouts.elements_inspect' => true,
    'layouts.apply_presets' => true,
    'layouts.save_presets' => true,
    'layouts.design_controls' => true,
    'layouts.customize_controls' => true,
    'layouts.edit_custom_css' => true,
    'layouts.edit_custom_js' => true,
    'layouts.skeleton_mode' => true,
    'layouts.inline_edit' => true,
    'layouts.dynamic_content' => true,
    'layouts.insert_templates' => true,
    'layouts.save_templates' => true,

    'templates.import' => true,
    'templates.download' => true,
    'templates.delete' => true,
    'templates.rename' => true,
    'templates.update_preview_image' => true,
    'templates.hide' => true,
    'templates.manage_default_presets' => true,
    'templates.design_cloud' => true,

    'content.cs_global_block.create' => true,
    'content.cs_global_block.delete' => true,
    'content.cs_global_block.rename' => true,

    'colors.create' => true,
    'colors.change' => true,
    'colors.rename' => true,
    'colors.delete' => true,

    'fonts.create'              => true,
    'fonts.change'              => true,
    'fonts.rename'              => true,
    'fonts.delete'              => true,
    'fonts.manage-google'       => true,
    'fonts.manage-adobe-fonts'      => true,
    'fonts.manage-custom-fonts' => true,

    'theme_options.edit_custom_css' => true,
    'theme_options.edit_custom_js' => true,

    'content.{post-type}' => false,
    'content.{post-type}.publish' => true,
    'content.{post-type}.insert_templates' => true,
    'content.{post-type}.save_templates' => true,
    'content.{post-type}.manage_layout' => true,
    'content.{post-type}.elements_create' => true,
    'content.{post-type}.elements_delete' => true,
    'content.{post-type}.elements_move' => true,
    'content.{post-type}.elements_inspect' => true,
    'content.{post-type}.apply_presets' => true,
    'content.{post-type}.save_presets' => true,
    'content.{post-type}.design_controls' => true,
    'content.{post-type}.customize_controls' => true,
    'content.{post-type}.edit_custom_css' => true,
    'content.{post-type}.edit_custom_js' => true,
    'content.{post-type}.settings' => true,
    'content.{post-type}.skeleton_mode' => true,
    'content.{post-type}.inline_edit' => true,
    'content.{post-type}.dynamic_content' => true,

    'element.{id}.inspect'            => true,
    'element.{id}.copy'               => true,
    'element.{id}.paste'              => true,
    'element.{id}.paste_style'        => true,
    'element.{id}.clear_style'        => true,
    'element.{id}.apply_preset'       => true,
    'element.{id}.save_preset'        => true,
    'element.{id}.show_in_library'    => true,
    'element.{id}.design_controls'    => true,
    'element.{id}.customize_controls' => true,

    'preference.{id}.user'     => true,

  )

);
