remove permission restriction from configure.zcml - is checked in form class
This commit is contained in:
		
							parent
							
								
									396e17c0dc
								
							
						
					
					
						commit
						c49f87aef5
					
				
					 1 changed files with 4 additions and 6 deletions
				
			
		|  | @ -1,5 +1,3 @@ | |||
| <!-- $Id$ --> | ||||
| 
 | ||||
| <configure | ||||
|    xmlns:zope="http://namespaces.zope.org/zope" | ||||
|    xmlns="http://namespaces.zope.org/browser" | ||||
|  | @ -28,14 +26,14 @@ | |||
|       name="create_glossaryitem.html" | ||||
|       for="loops.interfaces.INode" | ||||
|       class="loops.knowledge.glossary.browser.CreateGlossaryItemForm" | ||||
|       permission="zope.ManageContent" | ||||
|       permission="zope.View" | ||||
|       /> | ||||
| 
 | ||||
|   <page | ||||
|       name="edit_glossaryitem.html" | ||||
|       for="loops.interfaces.INode" | ||||
|       class="loops.knowledge.glossary.browser.EditGlossaryItemForm" | ||||
|       permission="zope.ManageContent" | ||||
|       permission="zope.View" | ||||
|       /> | ||||
| 
 | ||||
|   <zope:adapter | ||||
|  | @ -43,7 +41,7 @@ | |||
|       for="loops.browser.node.NodeView | ||||
|            zope.publisher.interfaces.browser.IBrowserRequest" | ||||
|       factory="loops.knowledge.glossary.browser.CreateGlossaryItem" | ||||
|       permission="zope.ManageContent" | ||||
|       permission="zope.View" | ||||
|       /> | ||||
| 
 | ||||
|   <zope:adapter | ||||
|  | @ -51,7 +49,7 @@ | |||
|       for="loops.browser.node.NodeView | ||||
|            zope.publisher.interfaces.browser.IBrowserRequest" | ||||
|       factory="loops.knowledge.glossary.browser.EditGlossaryItem" | ||||
|       permission="zope.ManageContent" | ||||
|       permission="zope.View" | ||||
|       /> | ||||
| 
 | ||||
| </configure> | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue