[ 
http://jira.nuxeo.org/browse/NXP-3491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60971#action_60971
 ] 

Nicolas Ulrich commented on NXP-3491:
-------------------------------------

Now, if you create a Directory with the "ReadOnly" tag in the Directory 
contribution or in the Directory UI contribution, you will be unable to modify 
the data. Example:

  <extension target="org.nuxeo.ecm.directory.sql.SQLDirectoryFactory"
    point="directories">
    
    <directory name="book_keywords">
      <schema>vocabulary</schema>
      ...
      <readOnly>true</readOnly>
    </directory>
  </extension>
 
or 

  <extension target="org.nuxeo.ecm.directory.ui.DirectoryUIManager"
    point="directories">
    <directory name="book_keywords" layout="vocabulary" sortField="label" 
readOnly="true" />
  </extension>

> SQLDirectoryDescriptor readOnly tag is not taken into account on vocabulary 
> screen
> ----------------------------------------------------------------------------------
>
>                 Key: NXP-3491
>                 URL: http://jira.nuxeo.org/browse/NXP-3491
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Bug
>          Components: Directory, Web UI
>    Affects Versions: 5.2 RC1
>            Reporter: Olivier Grisel
>            Assignee: Nicolas Ulrich
>             Fix For: 5.3.x
>
>   Original Estimate: 1 day
>  Remaining Estimate: 1 day
>
> SQLDirectoryDescriptor readOnly tag set to true should prevent the 
> vocabularies management views to display the modification button.
> Furthermore  editing / creation / deletion methods in the SQLSession should 
> not try to attempt any modification SQL queries (UPDATE, INSERT, DELETE) if 
> readOnly is set to true and log a warning instead.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
ECM-tickets@lists.nuxeo.com
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to