<?php

// anonymous user can only access Blog index page.
$acl['anonymous']['allow'] = array(
    'LoginController' => array('login', 'Signin', 'Signout'),
);
//$acl['anonymous']['deny'] = array(
//    'UserController' => array('login', 'registerAccount'),
//);
//$acl['member']['allow'] = array(
//    'UploadController' => '*',
//    'UserController' => '*',
//    'ContentrController' => '*',
//    'NoticeController' => '*'
//);
//$acl['member']['deny'] = array(
//    'StandardInventoryController' => '*',
//
//);

$acl['vip']['allow'] = array(
    'ProjectController' => '*',
    'RProjectController' => '*',
    'SProjectController' => '*',
    'UserController' => '*',
);
//$acl['audit']['allow'] = array(
//    'CensorController' => '*',
//    'UserController' => '*',
//);
//$acl['report']['allow'] = array(
//    'ReportController' => '*',
//    'UserController' => '*',
//);

//
//$acl['vip']['allow'] =
//	$acl['member']['allow'] = array(
//    'SnsController' => '*',
//    'BlogController' => '*',
//);
//
//$acl['member']['allow'] = array(
//    'UploadController' => array('index')
////    'BlogController' => array('deleteComment', 'writePost')
//);
//
//$acl['vip']['deny'] = array(
//    'SnsController' => array('banUser'),
//    'BlogController' => array('deleteComment', 'writePost')
//);
//
//$acl['admin']['allow'] = '*';
//
//$acl['member']['failRoute'] = array(
//    '_default' => '/error/member', //if not found this will be used
//    'SnsController/banUser' => '/error/member/sns/notAdmin',
//    'SnsController/showVipHome' => '/error/member/sns/notVip',
//    'BlogController' => '/error/member/blog/notAdmin'
//);
//
//$acl['vip']['failRoute'] = array(
//    '_default' => '/error/vip', //if not found this will be used
//    'SnsController/banUser' => '/error/member/sns/notAdmin',
//    'BlogController' => '/error/member/blog/notAdmin'
//);
//
//$acl['admin']['failRoute'] = array(
//    'SnsController/showVipHome' => '/error/admin/sns/vipOnly'
//);
//
//$acl['anonymous']['failRoute'] = array(
//    '_default' => '/signin',
//);
?>