为非管理员用户启用管理面板
管理面板中添加了一些菜单条目。这些链接到一些在框架中打开的 php 文件,以便将其集成到 Typo 3 中。对于管理员用户来说,一切都工作正常。现在我创建了一个非管理员用户,它也应该有权访问此工具。用户拥有这些工具的访问权限,但以非管理员用户身份登录时不会显示这些工具。我认为管理面板仅适用于管理员用户。
那么,如何才能仅为所需的工具授予对管理面板的访问权限呢?我认为像这样的打字稿
admPanel {
enable.edit = 1
hide = 0
}
可以做到这一点。但事实并非如此。我已将此代码添加到用户的选项选项卡中。
解决方案
取自博客文章TYPO3 Adminwerkzeuge für Backend Benutzer anzeigen:
打开
/typo3/mod/tools/conf.php
并从admin
更改为用户、组
#$MCONF['access']='admin'; $MCONF['访问权限']='用户,组';
保存文件并上传到服务器。这是在访问权限下启用管理工具的步骤(请参阅步骤 2))。
转到管理工具 ->用户,编辑用户,转到访问权限,添加管理面板。
打开
/typo3/sysext/belog/mod/conf.php
并执行与1相同的操作:#$MCONF['access']='admin'; $MCONF['访问权限']='用户,组';
使用此代码,您可以启用管理面板的子条目。
There are some menu entries added to the admin panel. These link to some php files which are opened in the frame so that it is integrated into Typo 3. Everything is working fine for the admin users. Now I created a non admin user which should also have access to this tools. The user has the access right to these tools, but they don't show up when logged in as non-admin user. I think that the admin panel is only available for admin users.
So how can I grant access to the admin panel only for the desired tools? I thought typoscript like this
admPanel {
enable.edit = 1
hide = 0
}
can do it. But it doesn't. I've added this code in the options tab of the user.
Solution
Taken from the blog post TYPO3 Adminwerkzeuge für Backend Benutzer anzeigen:
Open
/typo3/mod/tools/conf.php
and change fromadmin
touser,group
#$MCONF['access']='admin'; $MCONF['access']='user,group';
Save file and upload to server. This was the step for enabling the admin tools under access rights (see step 2)).
Go to admin-tools -> user, edit user, go to access rights, add admin panel.
Open
/typo3/sysext/belog/mod/conf.php
and do the same as in 1.:#$MCONF['access']='admin'; $MCONF['access']='user,group';
With this code you can enable the sub entries of the admin panel.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
只需设置
即可激活每个模块,
您可以在以下位置找到更多选项: http://typo3.org/documentation/document-library/core-documentation/doc_core_tsconfig/4.6.0/view/1/4/#id2313502
just set
You can activate each modul at its own
More option you will find at: http://typo3.org/documentation/document-library/core-documentation/doc_core_tsconfig/4.6.0/view/1/4/#id2313502