# this defines the entity description for site
site = \u8868\u793ASakai\u7CFB\u7EDF\u4E2D\u7684\u4E00\u4E2A\u7AD9\u70B9\uFF08\u5305\u62EC\u4E00\u7EC4\u7528\u6237\u548C\u5DE5\u5177\uFF09
site.view.new = \u6DFB\u52A0\u7AD9\u70B9\u65F6\uFF0C\u9ED8\u8BA4\u5F53\u524D\u7528\u6237\u4E3A\u7AD9\u70B9\u7BA1\u7406\u5458\u3001\u6240\u6709\u4EBA\uFF0C\u5982\u8981\u6307\u5B9A\u5176\u4ED6\u7528\u6237\uFF0C\u9700\u8981\u8BBE\u7F6E\u53C2\u6570'owner'\uFF0C\u5E76\u8BBE\u7F6E\u4E3A\u76F8\u5173\u7528\u6237\u3002\u521B\u5EFA\u7AD9\u70B9\u7684\u6700\u57FA\u7840\u8981\u6C42\u662F\u7AD9\u70B9ID\u548C\u7AD9\u70B9\u7C7B\u578B\uFF0C\u6240\u6709\u5176\u5B83\u53C2\u6570\u90FD\u662F\u53EF\u9009\u7684\u3002
site.view.list = \u83B7\u53D6\u5F53\u524D\u7528\u6237\u53EF\u4EE5\u8BBF\u95EE\u7684\u6240\u6709\u7AD9\u70B9\u5217\u8868\u3002\u901A\u8FC7\u8BBE\u7F6E'_limit'\u53C2\u6570\u53EF\u4EE5\u9650\u5236\u8FD4\u56DE\u7AD9\u70B9\u7684\u6570\u91CF\u3002\u6CE8\u610F\uFF0C\u7CFB\u7EDF\u81EA\u5B9A\u4E49\u4E86\u6700\u5927\u8FD4\u56DE\u6570\u91CF\uFF0C\u5982\u679C\u8BBE\u5B9A\u7684\u503C\u8D85\u51FA\u7CFB\u7EDF\u8BBE\u5B9A\u503C\u5C06\u65E0\u6548\u3002\u8BBE\u5B9A\u53C2\u6570'_start'\u53EF\u4EE5\u5BF9\u7ED3\u679C\u8FDB\u884C\u5206\u9875\u3002\u4F8B\u5982\uFF1A\u5982\u679C\u670942\u4E2A\u7AD9\u70B9\uFF0C\u8BBE\u7F6E\u53C2\u6570'_start' = 1\uFF0C'_limit' = 50\uFF0C\u7136\u540E\u8BBE\u7F6E'_start' = 51\uFF0C'_limit' = 50\u3002\u7B2C\u4E00\u6B21\u8C03\u7528\u5C06\u8FD4\u56DE42\u4E2A\u7AD9\u70B9\uFF0C\u7B2C\u4E8C\u6B21\u8C03\u7528\u8FD4\u56DE\u4E3A\u7A7A\u3002
site.view.edit = \u53EF\u4EE5\u66F4\u65B0\u7AD9\u70B9\u6240\u6709\u7684\u53EF\u66F4\u65B0\u5B57\u6BB5\uFF0C\u5305\u62EC\u7AD9\u70B9\u6240\u6709\u4EBA
site.view.show = \u67E5\u770B\u7AD9\u70B9\u7684\u4FE1\u606F\uFF0C\u901A\u8FC7'includeGroups' (boolean\u503C)\u53EF\u4EE5\u8FD4\u56DE\u7AD9\u70B9\u4E2D\u7684\u5C0F\u7EC4\u4FE1\u606F
site.view.show.field.includeGroups = \u53EA\u7528\u6B64boolean\u53C2\u6570\u6765\u83B7\u53D6\u7AD9\u70B9\u4E2D\u7684\u5C0F\u7EC4
site.redirect./{prefix}/{id}/memberships = \u901A\u8FC7\u91CD\u5B9A\u5411\u5230\u6240\u5C5E\u7AD9\u70B9\u7684entity provider\u6765\u83B7\u53D6\u7AD9\u70B9\u4E2D\u7684\u6240\u6709\u6210\u5458
site.Updateable = \u7AD9\u70B9\u6240\u6709\u4EBA\u73B0\u5728\u53EF\u4EE5\u5728\u7AD9\u70B9\u521B\u5EFA\u540E\u8FDB\u884C\u4FEE\u6539
site.action.exists = \u5982\u679C\u7AD9\u70B9\u5B58\u5728\uFF0C\u8FD4\u56DE\u4E00\u4E2A\u7A7A200\u54CD\u5E94\uFF1B\u5982\u679C\u4E0D\u5B58\u5728\uFF0C\u8FD4\u56DE\u4E00\u4E2A\u9519\u8BEF\uFF08\u53EF\u80FD\u662F404\uFF09\u3002<br/> \u6CE8\u610F\uFF1A\u60A8\u4E5F\u53EF\u4EE5\u901A\u8FC7\u67E5\u770B\u7AD9\u70B9\u4FE1\u606F\u7684\u65B9\u5F0F\u6765\u68C0\u67E5\uFF0C\u4F46\u90A3\u4E2A\u65B9\u6CD5\u8FD8\u8FD4\u56DE\u4E86\u76F8\u5173\u7684\u7AD9\u70B9\u4FE1\u606F\uFF0C\u6240\u4EE5\u8FD9\u4E2A\u65B9\u6CD5\u4F1A\u66F4\u5FEB\u3002
site.field.owner = \u7528\u6237ID\uFF0C\u53EF\u4EE5\u5728\u7AD9\u70B9\u521B\u5EFA\u540E\u88AB\u4FEE\u6539\u3002\u4F46\u5982\u679C\u8054\u7CFB\u4EBA\u4FE1\u606F\u5DF2\u88AB\u521B\u5EFA\uFF0C\u5C06\u6CA1\u6709\u5B9E\u9645\u6548\u679C\u3002
site.action.group = \u901A\u8FC7\u7C7B\u4F3C\u4E8E\uFF1A/site/siteId/group/{\u5C0F\u7EC4ID} \u8BBF\u95EE\u5C0F\u7EC4\u4FE1\u606F\u3002\u4F7F\u7528\u6240\u5C5E\u7AD9\u70B9Provider\u8BBF\u95EE\u6240\u5C5E\u7AD9\u70B9\u76F8\u5173\u4FE1\u606F\u3002<br /> \
(GET) /direct/site/siteid/group/{\u5C0F\u7EC4ID} - \u83B7\u53D6\u5C0F\u7EC4\u7684\u5143\u4FE1\u606F\uFF0C\u4F46\u4E0D\u5305\u62EC\u6210\u5458\u4FE1\u606F\u3002<br />\
(POST) /direct/site/siteid/group/{\u5C0F\u7EC4ID} - \u66F4\u65B0\u5C0F\u7EC4\u7684\u5143\u4FE1\u606F\uFF0C\u4F46\u4E0D\u5305\u62EC\u6210\u5458\u4FE1\u606F\u3002 <br />\
(PUT) /direct/site/siteid/group - \u5728\u7AD9\u70B9\u4E2D\u521B\u5EFA\u65B0\u7684\u5C0F\u7EC4\uFF08\u5C06\u8FD4\u56DE\u5C0F\u7EC4ID\uFF09\u3002\u53C2\u6570\u5305\u62EC\u540D\u79F0\uFF0C\u63CF\u8FF0\u4EE5\u53CA\u53EF\u9009\u7684\u521D\u59CB\u6210\u5458\u540D\u5355\u3002 <br />\
(DELETE) /direct/site/siteid/group/{\u5C0F\u7EC4ID} - \u4ECE\u7AD9\u70B9\u4E2D\u5220\u9664\u5DF2\u5B58\u5728\u7684\u5C0F\u7EC4\u3002
site.action.userPerms = \u82E5\u8981\u83B7\u53D6\u5F53\u524D\u7528\u6237\u5728\u6307\u5B9A\u7AD9\u70B9\u4E2D\u7684\u6743\u9650\uFF0C\u53EF\u901A\u8FC7URL\uFF1A /site/{\u7AD9\u70B9ID}/userPerms[/{\u6743\u9650\u524D\u7F00}].json\uFF0C\u5176\u4E2D '\u6743\u9650\u524D\u7F00' \u7528\u6765\u8FC7\u6EE4\u6743\u9650\u3002\
\u4F8B\u5982\uFF1AURL\uFF1A'/direct/site/XYZ/userPerms/calendar.json' \u5C06\u8FD4\u56DE\u5F53\u524D\u7528\u6237\u5728\u7AD9\u70B9XYZ\u4E2D\u7684\u65E5\u7A0B\u6743\u9650\u3002\
\u5982\u679C\u4E0D\u8BBE\u5B9A '\u6743\u9650\u524D\u7F00' \u5C06\u8FD4\u56DE\u6B64\u7AD9\u70B9\u4E2D\u6240\u6709\u5DE5\u5177\u7684\u76F8\u5173\u6743\u9650\u3002
site.action.perms = \u83B7\u53D6\u6307\u5B9A\u7AD9\u70B9\u4E2D\u7684\u6743\u9650\uFF0C\u53EF\u901A\u8FC7URL\uFF1A/site/{\u7AD9\u70B9ID}/perms[/{\u6743\u9650\u524D\u7F00}].json\uFF0C\u5176\u4E2D '\u6743\u9650\u524D\u7F00'\u7528\u6765\u8FC7\u6EE4\u6743\u9650\u3002 \
\u4F8B\u5982\uFF1AURL\uFF1A'/direct/site/XYZ/perms/calendar.json' \u5C06\u8FD4\u56DE\u7AD9\u70B9XYZ\u4E2D\u6BCF\u4E2A\u89D2\u8272\u7684\u65E5\u7A0B\u6743\u9650\u3002 \
\u5982\u679C\u4E0D\u8BBE\u5B9A '\u6743\u9650\u524D\u7F00' \u5C06\u8FD4\u56DE\u6B64\u7AD9\u70B9\u4E2D\u6240\u6709\u5DE5\u5177\u7684\u76F8\u5173\u6743\u9650\u3002
site.action.setPerms = \u8BBE\u7F6E\u6307\u5B9A\u7AD9\u70B9\u7684\u6743\u9650\uFF0C\u53EF\u901A\u8FC7POST\u65B9\u6CD5\u8BBF\u95EEURL\uFF1A/site/{\u7AD9\u70B9ID}/setPerms\u3002 \
\u8981\u8C03\u7528\u6B64\u65B9\u6CD5\u9700\u5C06\u8981\u66F4\u65B0\u7684\u6743\u9650\u4EE5 '{\u89D2\u8272ID}:{\u6743\u9650}=[true|false]' \u7684\u65B9\u5F0F\u4F5C\u4E3A\u53C2\u6570\u53D1\u9001\u3002\
\u4F8B\u5982\uFF1A\u53D1\u9001\u53C2\u6570'maintain:blog.post.create=true' \u5C06\u8D4B\u4E88 maintain \u89D2\u8272\u5728\u6307\u5B9A\u7AD9\u70B9\u7684 blog.post.create \u6743\u9650\u3002
site.action.pages = \u83B7\u53D6\u6307\u5B9A\u7AD9\u70B9\u4E2D\u7684\u6240\u6709\u9875\u9762\u548C\u5DE5\u5177\uFF0C\u4F7F\u7528\u53C2\u6570"props" (true/false\uFF0C\u9ED8\u8BA4false)\u6765\u5305\u542B\u9875\u9762\u5C5E\u6027\uFF1B \
\u4F7F\u7528\u53C2\u6570 "config" (true/false\uFF0C\u9ED8\u8BA4false) \u6765\u5305\u542B\u5DE5\u5177\u914D\u7F6E
site.action.withPerm=URL\u4F8B\u5B50\uFF1A /site/withPerm/.json?permission=site.upd
