Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Commit 61eb5c8

Browse files
committed
Add new config options
1 parent 633450f commit 61eb5c8

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

config/config.php

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -651,4 +651,54 @@
651651

652652
],
653653

654+
/*
655+
|--------------------------------------------------------------------------
656+
| Online Users Options
657+
|--------------------------------------------------------------------------
658+
*/
659+
660+
'online' => [
661+
662+
/*
663+
|--------------------------------------------------------------------------
664+
| Online Users Activity Interval (minutes)
665+
|--------------------------------------------------------------------------
666+
|
667+
| Minutes that indicates an active user, to be considered an online user.
668+
|
669+
*/
670+
671+
'interval' => 15,
672+
673+
],
674+
675+
/*
676+
|--------------------------------------------------------------------------
677+
| Backend Options
678+
|--------------------------------------------------------------------------
679+
*/
680+
681+
'backend' => [
682+
'items_per_page' => 2,
683+
'items_per_dashboard' => 2,
684+
],
685+
686+
/*
687+
|--------------------------------------------------------------------------
688+
| Protected Models
689+
|--------------------------------------------------------------------------
690+
|
691+
| Model Ids of protected abilities, roles, users that no one can control
692+
| (edit, delete, ..etc) except someone with "Super Admin" ability.
693+
|
694+
*/
695+
696+
'protected' => [
697+
698+
'abilities' => [1],
699+
'roles' => [1],
700+
'users' => [1],
701+
702+
],
703+
654704
];

0 commit comments

Comments
 (0)