Help for integrating the Laravel package
Forum rules: Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
#5231 by aimeos
13 Dec 2017, 23:15
No, you can't impersonate as another user. The Laravel users table and the Laravel Gate permission system isn't designed for that.
#5234 by aimeos
15 Dec 2017, 08:40
It uses an alternative authorization package for permission handling. You can use that as well in your own application because it's based on the Laravel standard auth system. You only have to define an alternative gate function instead of using the Aimeos one: https://github.com/aimeos/aimeos-laravel#admin
#7493 by hihaider196
11 Jan 2019, 10:54
hi,
I want to remove signIn from admin portal and restrict changes in admin portal for any user(once product in inserted then you can't do anything).I need it as soon as possible. Help me
Thankyou
#7495 by aimeos
11 Jan 2019, 11:04
If you want to limit the panels a user group is able to see, you can overwrite the configuration from the admin/jqadm/resource.php file: https://github.com/aimeos/ai-admin-jqadm/blob/master/admin/jqadm/config/admin/jqadm/resource.php

Add the settings to your ./config/shop.php in the "admin" section like:
Code: Select all'admin => [
    'jqadm' => [
        'resource' => [
            'order' => [
                'groups' => ['super', 'admin']
            ]
        ]
    ]
]

This example removes the order panel for all users with editor privileges.
#7503 by aimeos
14 Jan 2019, 13:19
All customer and administrator accounts are stored in the Laravel "users" table. Aimeos add a few more tables for delivery addresses (users_address), references to other domains (users_list) and arbitrary properties (users_property).