Not allowed to access JQAdm "dashboard" client

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
promptnet
Posts: 61
Joined: 24 Jul 2019, 12:22

Not allowed to access JQAdm "dashboard" client

Post by promptnet » 19 Oct 2020, 12:19

Hi
I've got an error, when trying to access Aimeos in the backend with a certain usergroup (non-admin).
The usergroup's ID is 46 and the name is "kleinundfein".
In the template I have this code (static Aimeos-template included):

Code: Select all

module.tx_aimeos.settings.admin {
  jqadm {
    resource {
        dashboard {
            groups{
                0 = admin
              # 46 = kleinundfein
                1 = kleinundfein
            }
        }
        ...
I tried with key=1 and with key=46.

What's wrong?
Thanks, Kurt

User avatar
aimeos
Administrator
Posts: 7885
Joined: 01 Jan 1970, 00:00

Re: Not allowed to access JQAdm "dashboard" client

Post by aimeos » 21 Oct 2020, 09:57

What is the exact error you get?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

promptnet
Posts: 61
Joined: 24 Jul 2019, 12:22

Re: Not allowed to access JQAdm "dashboard" client

Post by promptnet » 26 Oct 2020, 12:23

Sorry for the late answer. I somehow didn't get the notice email (or it was overseen in spam)...
I get this error:
Aimeos\Admin\JQAdm\Exception
Not allowed to access JQAdm "dashboard" client

User avatar
aimeos
Administrator
Posts: 7885
Joined: 01 Jan 1970, 00:00

Re: Not allowed to access JQAdm "dashboard" client

Post by aimeos » 28 Oct 2020, 15:22

Using this TS in the setup TS section at the root page and creating a backend user group "kleinundfein" assigned to a non-admin user works without problems:

Code: Select all

module.tx_aimeos.settings.admin {
  jqadm {
    resource {
        dashboard {
            groups{
                0 = admin
                1 = kleinundfein
            }
        }
    }
  }
}
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

promptnet
Posts: 61
Joined: 24 Jul 2019, 12:22

Re: Not allowed to access JQAdm "dashboard" client

Post by promptnet » 28 Oct 2020, 19:33

Hm, no sorry, it doesn't work.
Any ideas?

Post Reply