Xaraya / Postnuke CVS Notices - Message

Note: this list is kept only as a demonstration for CVSNotice. For the latest CVS notices, see the Xaraya and Postnuke sites

View Statistics - Next Notice - Previous Notice

Directory filter : [ all ] / postnuke_modules / articles [ view in CVS ]

Date Directory [filter] File(s) [view] Author [filter]
01 Aug 2002 01:06:20postnuke_modules/articlespnuserapi.php,1.29,1.30 pnadminapi.php,1.9,1.10Mike
 permission changes

Update of /home/cvsroot/postnuke_modules/articles
In directory ns7.hostnuke.net:/tmp/cvs-serv7447

Modified Files:
	pnuserapi.php pnadminapi.php 
Log Message:
permission changes


Index: pnuserapi.php
===================================================================
RCS file: /home/cvsroot/postnuke_modules/articles/pnuserapi.php,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** pnuserapi.php	1 Aug 2002 00:33:45 -0000	1.29
--- pnuserapi.php	1 Aug 2002 01:06:18 -0000	1.30
***************
*** 704,708 ****
   * @return true if OK, false if not OK
   */
! function articles_user_checksecurity($args)
  {
      // Get arguments from argument array
--- 704,708 ----
   * @return true if OK, false if not OK
   */
! function articles_userapi_checksecurity($args)
  {
      // Get arguments from argument array

Index: pnadminapi.php
===================================================================
RCS file: /home/cvsroot/postnuke_modules/articles/pnadminapi.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** pnadminapi.php	29 Jul 2002 14:11:23 -0000	1.9
--- pnadminapi.php	1 Aug 2002 01:06:18 -0000	1.10
***************
*** 55,60 ****
  
      // Security check
!     // Should it be checked for category Permission too?
!     if (!pnSecAuthAction(0, 'articles::item', "$title::", ACCESS_ADD)) {
          pnSessionSetVar('errormsg', _ARTICLESNOAUTH);
          return false;
--- 55,65 ----
  
      // Security check
!     if (!pnModAPILoad('articles', 'user')) {
!         pnSessionSetVar('errormsg', _LOADFAILED);
!         pnRedirect(pnModURL('articles', 'admin', 'view'));
!         return false;
!     }
!     $args['access'] = ACCESS_ADD;
!     if (!pnModAPIFunc('articles','user','checksecurity',$args)) {
          pnSessionSetVar('errormsg', _ARTICLESNOAUTH);
          return false;
***************
*** 151,155 ****
  
      // Security check
!     if (!pnSecAuthAction(0, 'articles::item', "ID::$aid", ACCESS_DELETE)) {
          pnSessionSetVar('errormsg', _ARTICLESNOAUTH);
          return false;
--- 156,166 ----
  
      // Security check
!     if (!pnModAPILoad('articles', 'user')) {
!         pnSessionSetVar('errormsg', _LOADFAILED);
!         pnRedirect(pnModURL('articles', 'admin', 'view'));
!         return false;
!     }
!     $args['access'] = ACCESS_DELETE;
!     if (!pnModAPIFunc('articles','user','checksecurity',$args)) {
          pnSessionSetVar('errormsg', _ARTICLESNOAUTH);
          return false;
***************
*** 225,229 ****
      
      // Security check
!     if (!pnSecAuthAction(0, 'articles::item', "$title::$aid", ACCESS_EDIT)) {
          pnSessionSetVar('errormsg', _ARTICLESNOAUTH);
          return false;
--- 236,246 ----
      
      // Security check
!     if (!pnModAPILoad('articles', 'user')) {
!         pnSessionSetVar('errormsg', _LOADFAILED);
!         pnRedirect(pnModURL('articles', 'admin', 'view'));
!         return false;
!     }
!     $args['access'] = ACCESS_EDIT;
!     if (!pnModAPIFunc('articles','user','checksecurity',$args)) {
          pnSessionSetVar('errormsg', _ARTICLESNOAUTH);
          return false;


Directory filter : [ all ] / postnuke_modules / articles [ view in CVS ]

View Statistics - Next Notice - Previous Notice


Visit Developer Site - Browse CVS Repository Syndicate via backend.rss
(max. once per hour please)
Powered by CVSNotice 0.1.3