Issue (View Online)

Key: NXP-736
Issue Type: New Feature New Feature
Status: Resolved Resolved
Priority: Minor Minor
Resolution: Fixed
Assignee: Bogdan Tatar
Reporter: Thierry Delprat
Original Estimate: 2 days
Remaining Estimate: 1 week
Time Spent: 4 hours

Operations

View all
View comments
View history
Document Locking 
Updated: 06/04/07 11:10   Created: 05/03/07 17:15  

The following issue has been resolved as FIXED.

Project: Nuxeo Enterprise Platform 5
Components: Security
Fix Versions: 5.1 M2

 Description   
Integrate Core Locking feature into nuxeo 5.

Basically add a Seam Action Listener that will :
 - provide methods to lock/unlock a document
 - provide methods to lock/unlock the current document (shortcut)
 - provide methods to lock/unlock a list of documents (see later, based on DocumentsListManager)

This AL should be conversation scoped.

1 - First step is to integrate actions lock/unlock on the currentDocument.
You will need to define a new action contribution and define guards on it.
 - document can be locked if user has write acces on the doc + doc is not locked
...
You may have to define methods on the ActionListener that will be called by the action system to check these guards.
Only add the action on non-folderish documents (DENY guard on Facet folderish)


2 - UI
- Integrate into the documents_tables a icon that indicates if a document is locked
- integrate into the summary view the information about lock :
  => if document is locked : display by who and til when

3 - FileManager integration
FileManager is used by the browser plugin and by the Office Plugin

for the Browser Plugin, the FileManager overwrite the document if a file with the same name is already present
=> should check before if document is not locked

for the Office plugin
the plugin ask to the FileManager for pre-edit actions and post-edit
=> lock should be available as pre-edit
=> unlock should be available as post-edit
Should also not render the LiveEdit link on documents that are locked :)

This message was automatically generated by Atlassian JIRA Enterprise Edition, Version: 3.7.2-186 - Bug/feature request.
If you think it was sent incorrectly, contact one of this server's administrators.

_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to