Support the ongoing development of Laravel.io →

Creare un SuperAdmin

21 Nov, 2019 1 min read

Se per la creazione utenti usate il modulo LU 

$ php artisan lu:user

 What is your nickname [without space and special characters]?:
 > marco

 Email Address:
 > marco@gmail.com

 What is the password?:
 >

 User's level [1=>registered,2=>Editor,3=Moderator,4=Admin,5=SuperAdmin]:
 > 5

Success ! User Created !

per Associare la gestione al superUser, questo comando aggiunge tutti i moduli alla gestione backend, e associa tutti a tutti i superuser, poi il superuser decide quale "modulo" puo' gestire un utente

$ php artisan lu:create-areas 

 

401
Like this article? Let the author know and give them a clap!

Other articles you might like

modulo contatti

in laravel  <!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale...

Read article

create view

in laravel @extends('layout') @section('content') <style> .container { max-widt...

Read article

controller in laravel vs controller in laraxot

in laravel <?php namespace App\Http\Controllers; use App\Student; use Illuminate\Http\Request...

Read article

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.