chore: update auth desc

This commit is contained in:
fantasticit 2022-06-30 14:55:35 +08:00
parent 1777f3f6ec
commit 72e01d88fb
4 changed files with 7 additions and 4 deletions

View File

@ -26,7 +26,10 @@ export const DocumentCollaboration: React.FC<IProps> = ({ wikiId, documentId, di
<Members
id={documentId}
hook={useDoumentMembers}
descriptions={['权限继承:默认继承知识库成员权限', '超级管理员:知识库超级管理员和文档创建者']}
descriptions={[
'权限继承:默认继承知识库成员权限',
'超级管理员:组织超级管理员、知识库超级管理员和文档创建者',
]}
/>
</div>
),

View File

@ -43,7 +43,7 @@ export const Members: React.FC<IProps> = ({ id, hook, descriptions }) => {
})
) : (
<>
<Paragraph></Paragraph>
<Paragraph></Paragraph>
<Paragraph></Paragraph>
<Paragraph>访</Paragraph>
</>

View File

@ -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] = '无权限',

View File

@ -8,7 +8,7 @@ export enum AuthEnum {
}
export const AuthEnumTextMap = {
[AuthEnum.creator]: '创建者',
[AuthEnum.creator]: '超级管理员',
[AuthEnum.admin]: '管理员',
[AuthEnum.member]: '成员',
[AuthEnum.noAccess]: '无权限',