<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://docs-old.ckeditor.com/index.php?action=history&amp;feed=atom&amp;title=CKFinder_2.x%2FServer_Side_Integration%2FAccess_Control_List</id>
		<title>CKFinder 2.x/Server Side Integration/Access Control List - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://docs-old.ckeditor.com/index.php?action=history&amp;feed=atom&amp;title=CKFinder_2.x%2FServer_Side_Integration%2FAccess_Control_List"/>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=CKFinder_2.x/Server_Side_Integration/Access_Control_List&amp;action=history"/>
		<updated>2026-04-05T05:10:59Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.29.1</generator>

	<entry>
		<id>https://docs-old.ckeditor.com/index.php?title=CKFinder_2.x/Server_Side_Integration/Access_Control_List&amp;diff=3042&amp;oldid=prev</id>
		<title>Wiktor: Created page with '{{CKFinder_2.x_SSI_Warning}} == ACL – Access Control List ==  CKFinder comes with a powerful ACL feature, which makes it possible to define ACL settings at any level in the rep…'</title>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=CKFinder_2.x/Server_Side_Integration/Access_Control_List&amp;diff=3042&amp;oldid=prev"/>
				<updated>2010-05-14T20:09:58Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#039;{{CKFinder_2.x_SSI_Warning}} == ACL – Access Control List ==  CKFinder comes with a powerful ACL feature, which makes it possible to define ACL settings at any level in the rep…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{CKFinder_2.x_SSI_Warning}}&lt;br /&gt;
== ACL – Access Control List ==&lt;br /&gt;
&lt;br /&gt;
CKFinder comes with a powerful ACL feature, which makes it possible to define ACL settings at any level in the repository directories and subfolders. It implements also a simple role system for ACLs. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the configuration file, many &amp;amp;lt;AccessControl /&amp;amp;gt; nodes can be created to define ACLs. All attributes defined in AccessControl nodes are optional, and each one overrides ACLs defined for parent folders. &lt;br /&gt;
&lt;br /&gt;
For example, suppose the following ACLs are defined:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;amp;lt;AccessControl&lt;br /&gt;
 role = &amp;quot;*&amp;quot;&lt;br /&gt;
 resourceType = &amp;quot;*&amp;quot;&lt;br /&gt;
 folder = &amp;quot;/&amp;quot;&lt;br /&gt;
 folderView = &amp;quot;true&amp;quot;&lt;br /&gt;
 folderCreate = &amp;quot;true&amp;quot;&lt;br /&gt;
 fileUpload = &amp;quot;true&amp;quot;&lt;br /&gt;
/&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;AccessControl&lt;br /&gt;
 role = &amp;quot;*&amp;quot;&lt;br /&gt;
 resourceType = &amp;quot;Images&amp;quot;&lt;br /&gt;
 folder = &amp;quot;/My Test/Other Folder/&amp;quot;&lt;br /&gt;
 fileUpload = &amp;quot;false&amp;quot;&lt;br /&gt;
/&amp;amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
The above should then reflect in the connector execution by returning the following values for FileUpload:&lt;br /&gt;
&lt;br /&gt;
* Type = Files - /&amp;amp;nbsp;: true&lt;br /&gt;
* Type = Files - /My Test/&amp;amp;nbsp;: true&lt;br /&gt;
* Type = Files - /My Test/Other Folder/&amp;amp;nbsp;: true&lt;br /&gt;
* Type = Images - /My Test/&amp;amp;nbsp;: true&lt;br /&gt;
* Type = Images - /My Test/Other Folder/&amp;amp;nbsp;: false&lt;br /&gt;
* Type = Images - /My Test/Other Folder/Folder 3/&amp;amp;nbsp;: false&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;The “*” wildcard may be used for “role” and “resurceType” to include all.&lt;br /&gt;
&lt;br /&gt;
=== Roles ===&lt;br /&gt;
&lt;br /&gt;
By setting the '''roleSessionVar''' attribute, the end developer can point the connector to a session variable which contains the name of the role of the session user. This name would then be used to calculate the ACL.''''&lt;br /&gt;
&lt;br /&gt;
=== ACL Representation ===&lt;br /&gt;
&lt;br /&gt;
When sending ACL information to CKFinder, the connector sends a “bit mask” represented by an integer value. Each folder contains a computed aggregated ACL bit mask.&lt;br /&gt;
&lt;br /&gt;
The following is the representation of all used bits in the mask:&lt;br /&gt;
&amp;lt;pre&amp;gt;enum AccessControlRules&lt;br /&gt;
{&lt;br /&gt;
 FolderView = 1,&lt;br /&gt;
 FolderCreate = 2,&lt;br /&gt;
 FolderRename = 4,&lt;br /&gt;
 FolderDelete = 8,&lt;br /&gt;
 FileView = 16,&lt;br /&gt;
 FileUpload = 32,&lt;br /&gt;
 FileRename = 64,&lt;br /&gt;
 FileDelete = 128&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiktor</name></author>	</entry>

	</feed>