Navigation Menu

Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Let the ajxp_user ( = dashboard ) repository always "accessible".
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Apr 15, 2014
1 parent 90a6145 commit 6597eef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/src/core/classes/class.ConfService.php
Expand Up @@ -399,6 +399,9 @@ public static function repositoryIsAccessible($repositoryId, $repositoryObject,
return false;
}
}
if ($repositoryObject->getAccessType()=="ajxp_user" && $userObject != null) {
return true;// ($userObject->canRead($repositoryId) || $userObject->canWrite($repositoryId)) ;
}
if ($repositoryObject->getAccessType() == "ajxp_shared" && !AuthService::usersEnabled()) {
return false;
}
Expand Down

0 comments on commit 6597eef

Please sign in to comment.