mirror of https://github.com/fantasticit/think.git
chore: update auth desc
This commit is contained in:
parent
1777f3f6ec
commit
72e01d88fb
|
@ -26,7 +26,10 @@ export const DocumentCollaboration: React.FC<IProps> = ({ wikiId, documentId, di
|
|||
<Members
|
||||
id={documentId}
|
||||
hook={useDoumentMembers}
|
||||
descriptions={['权限继承:默认继承知识库成员权限', '超级管理员:知识库超级管理员和文档创建者']}
|
||||
descriptions={[
|
||||
'权限继承:默认继承知识库成员权限',
|
||||
'超级管理员:组织超级管理员、知识库超级管理员和文档创建者',
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
),
|
||||
|
|
|
@ -43,7 +43,7 @@ export const Members: React.FC<IProps> = ({ id, hook, descriptions }) => {
|
|||
})
|
||||
) : (
|
||||
<>
|
||||
<Paragraph>创建者:管理组织内所有知识库、文档,可删除组织</Paragraph>
|
||||
<Paragraph>超级管理员:管理组织内所有知识库、文档,可删除组织,默认创建者</Paragraph>
|
||||
<Paragraph>管理员:管理组织内所有知识库、文档,不可删除组织</Paragraph>
|
||||
<Paragraph>成员:可访问组织内所有知识库、文档,不可删除组织</Paragraph>
|
||||
</>
|
||||
|
|
|
@ -10,7 +10,7 @@ var AuthEnum;
|
|||
AuthEnum["noAccess"] = "noAccess";
|
||||
})(AuthEnum = exports.AuthEnum || (exports.AuthEnum = {}));
|
||||
exports.AuthEnumTextMap = (_a = {},
|
||||
_a[AuthEnum.creator] = '创建者',
|
||||
_a[AuthEnum.creator] = '超级管理员',
|
||||
_a[AuthEnum.admin] = '管理员',
|
||||
_a[AuthEnum.member] = '成员',
|
||||
_a[AuthEnum.noAccess] = '无权限',
|
||||
|
|
|
@ -8,7 +8,7 @@ export enum AuthEnum {
|
|||
}
|
||||
|
||||
export const AuthEnumTextMap = {
|
||||
[AuthEnum.creator]: '创建者',
|
||||
[AuthEnum.creator]: '超级管理员',
|
||||
[AuthEnum.admin]: '管理员',
|
||||
[AuthEnum.member]: '成员',
|
||||
[AuthEnum.noAccess]: '无权限',
|
||||
|
|
Loading…
Reference in New Issue