Configuring Moduls access for Redactors

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!
mantik
Posts: 89
Joined: 23 Oct 2017, 05:56

Configuring Moduls access for Redactors

Post by mantik » 09 Nov 2017, 17:36

how can i configure the available moduls for usergroups or redactors.
For example i wanna disable the Language or Expertmodul from the admin (they dont have to apear in the sidebar-menu).

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

Re: Configuring Moduls access for Redactors

Post by aimeos » 09 Nov 2017, 20:41

Here you can see the configuration for the sidebar navigation including the permissions:
https://github.com/aimeos/ai-admin-jqad ... /admin.php

You can change both via TypoScript and you need TYPO3 backend user groups named like the groups in the config to restrict the panels to certain user groups. You can even create more user groups (e.g. limited editor, dashboard viewer) and configure them the same way.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

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

Re: Configuring Moduls access for Redactors

Post by aimeos » 09 Nov 2017, 20:45

You can find additional configuration like the list of shown columns for each panel here:
https://aimeos.org/docs/Configuration/Core/admin/jqadm
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

mantik
Posts: 89
Joined: 23 Oct 2017, 05:56

Re: Configuring Moduls access for Redactors

Post by mantik » 29 Nov 2017, 13:21

im sorry i dont get it.

i've now do that:

Code: Select all

   plugin.tx_aimeos.settings.admin.jqadm {
        resource{
            dashboard {
                groups = Shop
            }
        }
    }
i've a typo3-BE-grop with the name Shop.

when i loigin then i got: Not allowed to access JQAdm "dashboard" client

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

Re: Configuring Moduls access for Redactors

Post by aimeos » 29 Nov 2017, 23:52

The permitted groups have to be a list of entries and the TYPO3 configuration of plugins for the backend starts with "module":

Code: Select all

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

mantik
Posts: 89
Joined: 23 Oct 2017, 05:56

Re: Configuring Moduls access for Redactors

Post by mantik » 30 Nov 2017, 13:08

still the same message.
is this in he extension typoscript or in ts config?

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

Re: Configuring Moduls access for Redactors

Post by aimeos » 01 Dec 2017, 10:25

It's in the Web -> Template -> Root page -> Info/Modify -> Setup TypoScript but you can also move it to a file so it can be versioned.

The full config for allowing a user from the "admin" and "Shop" group to access the dashboard is:

Code: Select all

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

mantik
Posts: 89
Joined: 23 Oct 2017, 05:56

Re: Configuring Moduls access for Redactors

Post by mantik » 05 Dec 2017, 11:18

After i put my extension template on typo3 root it works.

thnx

Post Reply