Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[INSTALL] The left menu the correct items are not showing up #379

Closed
ouyuki opened this issue May 9, 2024 · 6 comments
Closed

[INSTALL] The left menu the correct items are not showing up #379

ouyuki opened this issue May 9, 2024 · 6 comments
Assignees
Labels
invalid This doesn't seem right

Comments

@ouyuki
Copy link

ouyuki commented May 9, 2024

Hi! After installing and opening the left menu the correct items are not showing up, not sure what I'm doing wrong?Thanks!!
image

@ouyuki ouyuki changed the title [Install] The left menu the correct items are not showing up [INSTALL] The left menu the correct items are not showing up May 9, 2024
@SMEWebify SMEWebify self-assigned this May 9, 2024
@SMEWebify SMEWebify added the documentation Improvements or additions to documentation label May 9, 2024
@SMEWebify
Copy link
Owner

SMEWebify commented May 9, 2024

Hi @ouyuki

Thank you for your feedback, the menu shown to you is without rights.

the application manages rights, you must initialize the permissions and role in order to connect as admin ([email protected] // password) with these artisan commands:

php artisan db:seed --class=PermissionTableSeeder
 php artisan db:seed --class=CreateAdminUserSeeder

In CreateAdminUserSeeder.php

you will have the login credentials for the admin

    public function run()
    {
        $user = User::create([
            'name' => 'Admin', 
            'email' => '[email protected]',
            'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // === password
        ]);
    
        $role = Role::create(['name' => 'Admin']);
     
        $permissions = Permission::pluck('id','id')->all();
   
        $role->syncPermissions($permissions);
     
        $user->assignRole([$role->id]);
    }
}

@SMEWebify SMEWebify pinned this issue May 9, 2024
@ouyuki
Copy link
Author

ouyuki commented May 10, 2024

Thank you for your reply.
But it still shows ”These credentials do not match our records.“, I still did something wrong ;-(
20240510083803

@SMEWebify
Copy link
Owner

The email is encrypted and does not seem to work, regression introduced by #371 ?

to resolve the issue while I find the problem, you can manually change the encrypted address in the database
image

@ouyuki
Copy link
Author

ouyuki commented May 10, 2024

It seems that encryption was not working and the problem has been solved, thanks!

@SMEWebify
Copy link
Owner

All connection management is managed by inertia in the packages, it seems like an important job to me, I prefer to remove the encryption of email addresses for the moment

@SMEWebify SMEWebify added invalid This doesn't seem right and removed documentation Improvements or additions to documentation labels May 10, 2024
SMEWebify added a commit that referenced this issue May 10, 2024
@SMEWebify
Copy link
Owner

Thx @ouyuki I close the issue, looking forward to seeing you again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants