Changeset 7090
- Timestamp:
- 11/26/08 10:04:55 (6 weeks ago)
- Location:
- trunk
- Files:
-
- 1 removed
- 2 modified
-
interface/login/openid/index.php (modified) (1 diff)
-
library/pageACL.php (deleted)
-
library/preprocessor.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/interface/login/openid/index.php
r7072 r7090 10 10 3. tryAuthURI: the entrance uri of openid authentication. 11 11 */ 12 13 define('__TEXTCUBE_ADMINPANEL__',true); 12 14 13 15 $IV = array( -
trunk/library/preprocessor.php
r7087 r7090 157 157 if(in_array($context->URLInfo['interfaceType'], array('owner','reader'))) { 158 158 requireOwnership(); // Check access control list 159 require ROOT .'/library/pageACL.php'; 159 if(!empty($_SESSION['acl'])) { 160 $requiredPriv = Aco::getRequiredPrivFromUrl( $suri['directive'] ); 161 if( !empty($requiredPriv) && !Acl::check($requiredPriv) ) { 162 if( in_array( 'group.administrators', $requiredPriv ) ) { 163 header("location:".$blogURL ."/owner/center/dashboard"); exit; 164 } else { 165 header("location:".$blogURL ."/owner/entry"); exit; 166 } 167 } 168 169 } 160 170 } 161 171 ?>
