Skip to content

Commit

Permalink
Merge pull request #7 from LaswitchTech/dev
Browse files Browse the repository at this point in the history
Publishing v1.1.6
  • Loading branch information
LouisOuellet authored Aug 1, 2024
2 parents 9fd2e11 + ffa54ae commit 588e6f7
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.1.5
1.1.6
12 changes: 6 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions src/BaseController.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,14 @@ public function __construct($Auth = null){
$this->Logger->debug("Public: " . $this->Public);
$this->Logger->debug("Permission: " . $this->Permission);
$this->Logger->debug("Level: " . $this->Level);
$this->Logger->debug("Auth: " . $this->Auth);
$this->Logger->debug("Auth: " . is_null($this->Auth));
if($this->Auth){
$this->Logger->debug("isAuthenticated: " . $this->Auth->Authentication->isAuthenticated());
$this->Logger->debug("hasPermission: " . $this->Auth->Authorization->hasPermission($this->Namespace,$this->Level));
if($this->Auth->Authentication){
$this->Logger->debug("isAuthenticated: " . $this->Auth->Authentication->isAuthenticated());
}
if($this->Auth->Authorization){
$this->Logger->debug("hasPermission: " . $this->Auth->Authorization->hasPermission($this->Namespace,$this->Level));
}
}

// Check if the controller is public
Expand Down

0 comments on commit 588e6f7

Please sign in to comment.