-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Bug fix for elasticsearch installation
- Made changes to shell scripts which were using 'sudo' - Added better rbac control and automated permission creation, giving Master all access when you go to the route - Made some changes for audit issue on command line while running './yii' - Added RBAC Gui to the menu - Added RouteAccessControl - Made better control for Checking user logged in and re-route to login page - Added some performance enhancements
- Loading branch information
1 parent
b9cd8f8
commit 323e081
Showing
36 changed files
with
1,194 additions
and
733 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?php | ||
|
||
namespace backend\components; | ||
|
||
use yii\filters\VerbFilter; | ||
use yii\web\Controller as YiiController; | ||
use yii\web\ErrorAction; | ||
|
||
class Controller extends YiiController | ||
{ | ||
public function actions(): array | ||
{ | ||
return [ | ||
'error' => [ | ||
'class' => ErrorAction::class, | ||
], | ||
]; | ||
} | ||
|
||
|
||
public function behaviors(): array | ||
{ | ||
return [ | ||
'verbs' => [ | ||
'class' => VerbFilter::class, | ||
'actions' => [ | ||
'delete' => ['post'], | ||
], | ||
], | ||
]; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?php | ||
|
||
|
||
namespace backend\components; | ||
|
||
|
||
use kartik\grid\GridView; | ||
|
||
class RbacGridView extends GridView | ||
{ | ||
/** | ||
* @inheritdoc | ||
* @var string | ||
*/ | ||
public $layout = ' | ||
{items} | ||
<div class="row"> | ||
<div class="col-md-6">{summary}</div> | ||
<div class="col-md-6 text-right">{pager}</div> | ||
</div>'; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
return [ | ||
'adminEmail' => 'admin@example.com', | ||
'bsVersion' => '4.x', | ||
]; |
Oops, something went wrong.