我们在基于 Joomla 2.5 的站点中有一个用 chronoforms v4.0 制作的表格“add_news”。表单提交带有操作“提交文章”的文章 - 操作设置为:已发布:是,类别:myCategory。
我们有用户组:'Redaktor'。该组对“myCategory”类别的权限如下:
Action Select New Setting Calculated Setting
Create Allowed Allowed
Delete Allowed Allowed
Edit Allowed Allowed
Edit State Allowed Allowed
Edit Own Allowed Allowed
现在的问题:当我通过后端在 myCategory 类别中创建文章时,权限是从类别正确继承的。但是当我提交我的“add_news”表格时,文章是在“myCategory”类别中制作的,但“Redaktor”组的权限是
Action Select New Setting Calculated Setting
Delete Inherited Not Allowed
Edit Inherited Not Allowed
Edit State Inherited Not Allowed
我在这里错过了什么吗?不应该从类别继承权利吗?你能帮我解决这个问题吗?也许这可以通过“自定义代码”操作来完成?
如果您需要有关该主题的更多信息 - 请提前询问。
更新:
类别的资产行、使用“add_news”表单添加的内容以及 chronoforms 组件本身:
id parent_id lft rgt level name title rules
543 45 797 820 3 com_content.category.179 myCategory {"core.create":{"6":1,"3":1},"core.delete":{"6":1,"3":1},"core.edit":{"6":1,"2":1,"3":1},"core.edit.state":{"6":1,"2":1,"3":1},"core.edit.own":{"6":1,"2":1,"3":1}}
522 1 1089 1090 1 com_chronoforms chronoforms {}
662 1 1307 1308 1 sbg2r_content.437 sbg2r_content.437 ''
内容本身看起来像这样:
id '437'
asset_id '662'
title 'test for chrono'
alias 'test-for-chrono'
title_alias ''
introtext ''
fulltext 'tr'
state '1'
sectionid '0'
mask '0'
catid '179'
created '2013-08-13 23:59:30'
created_by '351'
created_by_alias 'm'
modified '0000-00-00 00:00:00'
modified_by '0'
checked_out '347'
checked_out_time '2013-08-14 09:59:14'
publish_up '0000-00-00 00:00:00'
publish_down '0000-00-00 00:00:00'
images ''
urls ''
attribs ''
version '1'
parentid '0'
ordering '0'
metakey ''
metadesc ''
access '1'
hits '1'
metadata ''
featured '0'
language '*'
xreference ''