diff options
| author | wjames5 <will@tekimaki.com> | 2008-10-03 17:20:16 +0000 |
|---|---|---|
| committer | wjames5 <will@tekimaki.com> | 2008-10-03 17:20:16 +0000 |
| commit | 87281f01b9f7ec98c49c92bf1151f98a0a2254cb (patch) | |
| tree | 9a25ae8ae8eb18ac99737c02a77f3612290251d0 | |
| parent | 92bb7205967ba536c3af0196a956a199c7bea8ec (diff) | |
| download | liberty-87281f01b9f7ec98c49c92bf1151f98a0a2254cb.tar.gz liberty-87281f01b9f7ec98c49c92bf1151f98a0a2254cb.tar.bz2 liberty-87281f01b9f7ec98c49c92bf1151f98a0a2254cb.zip | |
CORE CHANGE: cleave Create permission from Edit permission so that they are distinct. See mailing list for more details
| -rw-r--r-- | LibertyContent.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/LibertyContent.php b/LibertyContent.php index 96f4aaa..f00b934 100644 --- a/LibertyContent.php +++ b/LibertyContent.php @@ -3,7 +3,7 @@ * Management of Liberty content * * @package liberty -* @version $Header: /cvsroot/bitweaver/_bit_liberty/LibertyContent.php,v 1.375 2008/10/03 16:34:49 squareing Exp $ +* @version $Header: /cvsroot/bitweaver/_bit_liberty/LibertyContent.php,v 1.376 2008/10/03 17:20:16 wjames5 Exp $ * @author spider <spider@steelsun.com> */ @@ -1359,7 +1359,7 @@ class LibertyContent extends LibertyBase { * * @return bool True if user has this type of content administration permission */ - function hasEditPermission( $pVerifyAccessControl=TRUE, $pCheckGlobalPerm=FALSE ) { + function hasEditPermission( $pVerifyAccessControl=TRUE, $pCheckGlobalPerm=TRUE ) { return( $this->hasUserPermission( $this->mEditContentPerm, $pVerifyAccessControl, $pCheckGlobalPerm ) ); } @@ -1371,7 +1371,7 @@ class LibertyContent extends LibertyBase { * @return TRUE if permitted, method will fatal out if not * @access public */ - function verifyEditPermission( $pVerifyAccessControl=TRUE, $pCheckGlobalPerm=FALSE ) { + function verifyEditPermission( $pVerifyAccessControl=TRUE, $pCheckGlobalPerm=TRUE ) { global $gBitSystem; if( $this->hasEditPermission( $pVerifyAccessControl, $pCheckGlobalPerm ) ) { return TRUE; |
