TYPO3:什么是字段"access_group"?为了? [英] TYPO3: what is the field "access_group" for?

查看:49
本文介绍了TYPO3:什么是字段"access_group"?为了?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道"access_group int(11)DEFAULT 0 NOT NULL"字段的用途是什么?首先,我认为这是受user_group限制的,但是它有一个字段"fe_group varchar(100)DEFAULT''NOT NULL".您也可以在文档

I don't know what is the field "access_group int(11) DEFAULT 0 NOT NULL" for? First I thought it's for restriction by user_group, but there is an field "fe_group varchar(100) DEFAULT '' NOT NULL" for it. You can find the field also at the documentation Preparing the database , but I couldn't find a description for it, only for "fe_group".

推荐答案

access_group be_user 组.

在TYPO3中,您具有类似于unix-rights的访问系统,您可以在其中访问页面(以及页面中的记录).

In TYPO3 you have an access-system similar to the unix-rights, where you can grnat access to pages (and records in the page).

有一个菜单项 System -> Access ,您可以在其中选择一个页面,并可以递归设置多个级别的值:

There is a menu entry System->Access where you select a page and can set values for multiple levels recursive:

您可以设置所有者 Group 以及为
分配的授予的权限所有者所有人

You can set Owner and Group and the granted rights which are assigned for
Owner, Group, Everybody

权限按位编码(显示顺序不同):

the rights are coded bitwise (other order than displayed):

1(2 ^ 0)显示页面:显示/复制页面和内容.
2(2 ^ 4)编辑内容:更改/添加/删除/移动内容.
3(2 ^ 1)编辑页面:更改页面,例如.更改页面标题等.
4(2 ^ 2)删除页面:删除/移动页面和内容.
5(2 ^ 3)新页面:在此页面下创建新页面.

1 (2^0) Show page: Show/Copy page and content.
2 (2^4) Edit content: Change/Add/Delete/Move content.
3 (2^1) Edit page: Change page eg. change pagetitle etc.
4 (2^2) Delete page: Delete/Move page and content.
5 (2^3) New pages: Create new pages under this page.

可以在页面TSconfig中使用 TCEMAIN 设置这些值,因此子树中的所有页面可能都具有相同的权限.

These values can be set with TCEMAIN in the page TSconfig, so all pages in a sub tree might get the same rights.

示例:

TCEMAIN.permissions {
    userid = 43
    groupid = 5
    user = 31
    group = 19
    everybody = 1
}

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆