mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-15 19:52:15 +01:00
Added more imports
This commit is contained in:
@@ -46,6 +46,7 @@ class AppServiceProvider extends ServiceProvider
|
||||
|
||||
Model::preventLazyLoading(! $this->app->isProduction());
|
||||
Model::preventSilentlyDiscardingAttributes(! $this->app->isProduction());
|
||||
Model::preventAccessingMissingAttributes(! $this->app->isProduction());
|
||||
Relation::enforceMorphMap([
|
||||
'membership' => Membership::class,
|
||||
'organization' => Organization::class,
|
||||
|
||||
@@ -109,5 +109,8 @@ class JetstreamServiceProvider extends ServiceProvider
|
||||
'time-entries:delete:own',
|
||||
'organizations:view',
|
||||
])->description('Editor users have the ability to read, create, and update.');
|
||||
|
||||
Jetstream::role('placeholder', 'Placeholder', [
|
||||
])->description('Placeholders are used for importing data. They cannot log in and have no permissions.');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user