protected function bootstrapPermissions()
{
// Get the permissions callback from the config file.
$callback = $this->app['config']->get('lock.permissions', null);
// Add the permissions which were set in the config file.
if (!is_null($callback)) {
call_user_func($callback, $this->app[Manager::class], $this->app[Lock::class]);
}
}