<title><![CDATA[Access Control]]></title>
Attribute Name |
Mandatory |
Default |
Description |
inherit |
No |
1 |
1 - access control inheritance from higher level ACL list, 0 - stop inheritance |
<acl inherit="0">
<entry type="role">demo</entry>
<entry type="user">admin</entry>
</acl>
Attribute Name |
Mandatory |
Default |
Description |
type |
Yes |
n/a |
"user" - user ID, "role" - group id |
r |
No |
1 |
1 - allow read page data using "Pages" tool, 0 - not allow read |
w |
No |
1 |
1 - allow write page data using "Pages" tool, 0 - not allow write |
e |
No |
1 |
1 - allow execute page (enter page URL in browser and get it), 0 - not allow execute |
m |
No |
1 |
1 - allow manage page access control list using "pages" tool, 0 - not allow manage |
<entry type="admin" e="1" w="1"></entry>
<timestamp><![CDATA[2014-09-19 21:22:19]]></timestamp>
Attribute Name |
Mandatory |
Default |
Description |
type |
No |
n/a |
0 - regular page (default), 1 - model page, 2 - sample page |
<doc type="1"> ... </doc>
<mdl><![CDATA[53ce35b1b0297]]></mdl>
<seq><![CDATA[53ce42b1b0297]]></seq>
<pid><![CDATA[53b7e5c19d92d]]></pid>
<code><![CDATA[regular]]></code>
<url><![CDATA[/docs]]></url>
<url><![CDATA[/news/item/:id]]></url>
<regexp><![CDATA[^/news/item/[^/]+$]]></regexp>
<alias><url><![CDATA[/xxx]]></url></alias>
<alias><url><![CDATA[/xxx]]></url></alias>
Attribute Name |
Mandatory |
Default |
Description |
code |
No |
302 |
Redirect code: 301, 302, 303 or 307 |
<redirect><![CDATA[http://www.sample-site.com]]></redirect>
Attribute Name |
Mandatory |
Default |
Description |
start |
No |
0000-00-00 00:00:00 |
Date and time when public availability starts |
stop |
No |
9999-00-00 00:00:00 |
Date and time when public availability stops |
<public start="2013-01-01 00:00:00">1</public>
<method>GET</method>
<method>POST</method>
<title><![CDATA[Docs]]></title>
<title_full><![CDATA[KUSoftas CMS Docs]]></title_full>
<desc><![CDATA[KUSoftas CMS Docs: overview (CMS features, system requirements, basics, access control), tools (setup, menu, pages, files, users, groups), administration (installation, backing up and restoring)]]></desc>
<keyw><![CDATA[cms, content management system, docs, documentation, web, access, administration, tools]]></keyw>
<lang><![CDATA[en]]></lang>
<topic><![CDATA[docs]]></topic>
Attribute Name |
Mandatory |
Default |
Description |
id |
No |
n/a |
ex. "fb:admins" |
<meta id="fb:admins"><![CDATA[<meta property="fb:admins" content="1234567890"/>]]></meta>
Attribute Name |
Mandatory |
Default |
Description |
type |
No |
n/a |
"site" - template is defined by file path, else - template is defined by file name (defined in tool "Setup", "List" tab, "Templates" list) |
title |
Yes (if type is not equal "site") |
n/a |
Defined in tool "Setup", "List" tab, "Templates" list |
<template title="Default template">index.tpl</template>
<life>3600</life>
<sitemap>1</sitemap>
<sitemap_priority>0.7</sitemap_priority>
<sitemap_frequency>1</sitemap_frequency>
<search>1</search>
<option><![CDATA[<meta name="robots" content="noindex,follow"/>]]></option>
Attribute Name |
Mandatory |
Default |
Description |
type |
Yes |
n/a |
- "file" - template/html file
- "css" - css file
- "js" - js file
- "ds" - datastream
|
file_id |
No |
n/a |
To be accessed by ID in template variables or via URL (datastream). Applicable when type="file" or type="ds" |
code |
No |
n/a |
Datastream type code. Applicable only when type="ds" |
mime |
No |
application/octet-stream |
Datastream mime type. Applicable only when type="ds" |
size |
No |
n/a |
Datastream file size in bytes. Applicable only when type="ds" |
storage |
No |
0 |
Datastream is stored into digital repository if storage="1". Applicable only when type="ds" |
cache |
No |
n/a |
Possible values: "cache", "nocache", "inline". Applicable only when type="file" |
life |
No |
n/a |
Include file caching lifetime in sec. Applicable only when type="file" |
link |
No |
n/a |
1 - include ID defined in system setup. Applicable only when type="css" or type="js" |
ext |
No |
n/a |
1 - include/datastream referenced by URL (usually in another site). Applicable only when type="css" or type="js" or type="ds" |
<include type="file" life="3600"><![CDATA[docs/cms-tools/files/file-editor-blockquate.htm]]></include>
<include type="css"><![CDATA[docs/docs.css]]></include>
Attribute Name |
Mandatory |
Default |
Description |
start |
No |
0000-00-00 00:00:00 |
Date and time when availability starts |
stop |
No |
9999-00-00 00:00:00 |
Date and time when availability stops |
<public start="2013-01-01 00:00:00">1</public>
Attribute Name |
Mandatory |
Default |
Description |
inherit |
No |
1 |
1 - access control inheritance from higher level ACL list, 0 - stop inheritance |
<acl inherit="0">
<entry type="role">demo</entry>
<entry type="user">admin</entry>
</acl>
Attribute Name |
Mandatory |
Default |
Description |
type |
Yes |
n/a |
"user" - user ID, "role" - group id |
r |
No |
1 |
1 - allow read page data using "Pages" tool, 0 - not allow read |
w |
No |
1 |
1 - allow write page data using "Pages" tool, 0 - not allow write |
e |
No |
1 |
1 - allow execute page (enter page URL in browser and get it), 0 - not allow execute |
m |
No |
1 |
1 - allow manage page access control list using "pages" tool, 0 - not allow manage |
<entry type="admin" e="1" w="1"></entry>
<timestamp><![CDATA[2014-09-19 21:22:19]]></timestamp>
<fnc>cms_route::def</fnc>
Attribute Name |
Mandatory |
Default |
Description |
inherit |
No |
1 |
1 - access control inheritance from higher level ACL list, 0 - stop inheritance |
<acl inherit="0">
<entry type="role">demo</entry>
<entry type="user">admin</entry>
</acl>
Attribute Name |
Mandatory |
Default |
Description |
type |
Yes |
n/a |
"user" - user ID, "role" - group id |
r |
No |
1 |
1 - allow read page data using "Pages" tool, 0 - not allow read |
w |
No |
1 |
1 - allow write page data using "Pages" tool, 0 - not allow write |
e |
No |
1 |
1 - allow execute page (enter page URL in browser and get it), 0 - not allow execute |
m |
No |
1 |
1 - allow manage page access control list using "pages" tool, 0 - not allow manage |
<entry type="admin" e="1" w="1"></entry>
Sample CMS pages XML file:
<?php echo '<?xml ';?>version="1.0" encoding="utf-8" <?php echo '?>';?>
<data>
<doc>
<url><![CDATA[/docs]]></url>
<title><![CDATA[Docs]]></title>
<title_full><![CDATA[KUSoftas CMS Docs]]></title_full>
<desc><![CDATA[KUSoftas CMS Docs: overview (CMS features, system requirements, basics, access control), tools (setup, menu, pages, files, users, groups), administration (installation, backing up and restoring)]]></desc>
<keyw><![CDATA[cms, content management system, docs, documentation, web, access, administration, tools]]></keyw>
<lang><![CDATA[en]]></lang>
</doc>
<doc>
<url><![CDATA[/]]></url>
<title><![CDATA[Home]]></title>
<title_full><![CDATA[KUSoftas CMS Home - skinnable, SEO optimized, jQuery, PHP, Smarty, jQuery based]]></title_full>
<desc><![CDATA[KUSoftas CMS is skinnable, SEO optimized with jQuery and Ajax support, WYSIWYG content editing, WebDAV support based on PHP, Smarty, Slim, jQuery, Datatables, Dynatree etc.]]></desc>
<keyw><![CDATA[cms, content management system, web, site, setup, menu, pages, files, users, groups, access control, permissions, jquery, elrte, elfinder, datatables, dynatree, mysql, sqlite, smarty, slim, webdav, superfish, drag and drop]]></keyw>
<lang><![CDATA[en]]></lang>
<template title="Home page template"><![CDATA[cms-demo.tpl]]></template>
<include type="file"><![CDATA[home.html]]></include>
</doc>
<doc>
<url><![CDATA[/search]]></url>
<method><![CDATA[GET]]></method>
<method><![CDATA[POST]]></method>
<title><![CDATA[Search]]></title>
<title_full><![CDATA[KUSoftas CMS Search Pages]]></title_full>
<desc><![CDATA[KUSoftas CMS Search Pages]]></desc>
<keyw><![CDATA[kusoftas, cms, content management system, search, pages, jquery, tipue]]></keyw>
<lang><![CDATA[en]]></lang>
<template title="Search template"><![CDATA[cms-demo-search.tpl]]></template>
<include type="css" link="1"><![CDATA[tipue]]></include>
<include type="css"><![CDATA[search/search.css]]></include>
<include type="js" link="1"><![CDATA[tipue]]></include>
<include type="js"><![CDATA[search/search_set.js]]></include>
<include type="js"><![CDATA[search/search.js]]></include>
</doc>
</data>
<timestamp><![CDATA[2014-09-19 21:22:19]]></timestamp>