1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- <?php
- /**
- * This file is part of Entrust,
- * a role & permission management solution for Laravel.
- *
- * @license MIT
- * @package Zizaco\Entrust
- */
- return [
- /*
- |--------------------------------------------------------------------------
- | Entrust Role Model
- |--------------------------------------------------------------------------
- |
- | This is the Role model used by Entrust to create correct relations. Update
- | the role if it is in a different namespace.
- |
- */
- 'role' => 'App\Models\Role',
- /*
- |--------------------------------------------------------------------------
- | Entrust Roles Table
- |--------------------------------------------------------------------------
- |
- | This is the roles table used by Entrust to save roles to the database.
- |
- */
- 'roles_table' => 'roles',
- /*
- |--------------------------------------------------------------------------
- | Entrust Permission Model
- |--------------------------------------------------------------------------
- |
- | This is the Permission model used by Entrust to create correct relations.
- | Update the permission if it is in a different namespace.
- |
- */
- 'permission' => 'App\Models\Permission',
- /*
- |--------------------------------------------------------------------------
- | Entrust Permissions Table
- |--------------------------------------------------------------------------
- |
- | This is the permissions table used by Entrust to save permissions to the
- | database.
- |
- */
- 'permissions_table' => 'permissions',
- /*
- |--------------------------------------------------------------------------
- | Entrust permission_role Table
- |--------------------------------------------------------------------------
- |
- | This is the permission_role table used by Entrust to save relationship
- | between permissions and roles to the database.
- |
- */
- 'permission_role_table' => 'permission_role',
- /*
- |--------------------------------------------------------------------------
- | Entrust role_user Table
- |--------------------------------------------------------------------------
- |
- | This is the role_user table used by Entrust to save assigned roles to the
- | database.
- |
- */
- 'role_user_table' => 'role_user',
- /*
- |--------------------------------------------------------------------------
- | User Foreign key on Entrust's role_user Table (Pivot)
- |--------------------------------------------------------------------------
- */
- 'user_foreign_key' => 'user_id',
- /*
- |--------------------------------------------------------------------------
- | Role Foreign key on Entrust's role_user Table (Pivot)
- |--------------------------------------------------------------------------
- */
- 'role_foreign_key' => 'role_id',
- ];
|