Commit d2686e98bab8b594a658e521fe92cf7df956e251

Authored by kevin_fourie
1 parent 232c6dfd

Merged in from DEV trunk...

KTS-3319
"Users unable to remove manage security permission"
Fixed. Commented out manage security checks.

Committed By: Jonathan Byrne
Reviewed By: Isaac Lundall


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/STABLE/branches/3.5.2c-Release-Branch@8421 c91229c3-7414-0410-bfa2-8a42b809f60b
plugins/ktcore/folder/Permissions.php
@@ -457,6 +457,11 @@ class KTFolderPermissionsAction extends KTFolderAction { @@ -457,6 +457,11 @@ class KTFolderPermissionsAction extends KTFolderAction {
457 $aFoo = $_REQUEST['foo']; 457 $aFoo = $_REQUEST['foo'];
458 $aPermissions = KTPermission::getList(); 458 $aPermissions = KTPermission::getList();
459 459
  460 + /*
  461 + --- This section has been commented out to remove these checks when permissions
  462 + --- are updated.
  463 + ---------------------------------------------------------------------------------
  464 +
460 //------------------- 465 //-------------------
461 //This section is used to make sure that a user doesn't disable the admin groups 466 //This section is used to make sure that a user doesn't disable the admin groups
462 //Manage security permission or the Manage Security permission of a group they 467 //Manage security permission or the Manage Security permission of a group they
@@ -497,7 +502,7 @@ class KTFolderPermissionsAction extends KTFolderAction { @@ -497,7 +502,7 @@ class KTFolderPermissionsAction extends KTFolderAction {
497 } 502 }
498 } 503 }
499 //----------------- 504 //-----------------
500 - 505 + */
501 506
502 require_once(KT_LIB_DIR . '/documentmanagement/observers.inc.php'); 507 require_once(KT_LIB_DIR . '/documentmanagement/observers.inc.php');
503 $oPO = KTPermissionObject::get($this->oFolder->getPermissionObjectId()); 508 $oPO = KTPermissionObject::get($this->oFolder->getPermissionObjectId());