cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@cocoon.apache.org
Subject [Cocoon Wiki] New: RightsManagement
Date Fri, 28 Jan 2005 10:37:04 GMT
   Date: 2005-01-28T02:37:04
   Editor: JensMaukisch
   Wiki: Cocoon Wiki
   Page: RightsManagement
   URL: http://wiki.apache.org/cocoon/RightsManagement

   no comment

New Page:

= RightsManagement =

The RightsManagement should restrict the access to plugins, functions inside the plugins or
or actions
inside the functions. It is configured via a XML-File (the auht-file you pass to the PortalToolManager,
not fully implemented yet, itÂ’s a simple textfile atm)

/!\ The RightsManagement is currently under development and may change.

== Configuration (auth.xml) ==
=== Current Configuration ===

Simple properties file with a url pattern on the left side and the allowed roles on the right
side:

copletManagement/showTab=admin[[BR]]
copletManagement/showTab*=admin[[BR]]
copletManagement/selectSkin*=admin+guest[[BR]]

=== New Configuration (proposal) ===
{{{
<auth>
	<plugin id="copletManagement">
		<functions>
			<function id="showTab">
				<roles>
					<role>admin</role>
				</roles>
				<users>
					<user>cocoon</user>
				</users>
			</function>
			<actions>
				<action id="moveUp">
					<roles>
						<role>admin</role>
					</roles>
				</action>
			</actions>
		</functions>
	</plugin>
</auth>
}}}

== Components ==
 
 * CheckAccessAction 
 * CheckAccessTransformer 

Mime
View raw message