Just to close this topic off, its posible to update Classic UI DAM ADMIN to have the Lock and Unlock Tool bar items.
You will need to enable LOCK and UNLOCK nodes.
The changes you will need to make:
- disabled=false
- context=toolbar
This will not enable this in Touch UI. To do this in Touch UI you will need to do a bit of Overlaying, here is the scope of work for this:
- Add button to Rail
- Create new Modal
- Update various Views (Card,List,Colum) to show status of Lock.
I have done this and it works a treat! I would allow at least a day to complete this task.
TouchUI JSON for completness
http://localhost:4502/libs/wcm/core/content/damadmin/actions/lock.tidy.json
| { |
| | "jcr:primaryType": "nt:unstructured", |
| | "privileges": ["update"], |
| | "conditions": [ |
| | "CQ.wcm.SiteAdmin.hasListSelection", |
| | " CQ.wcm.SiteAdmin.lockable" |
| | ], |
| | "target": "CQ.wcm.SiteAdmin.getTargetFromList", |
| | "cls": "cq-siteadmin-lock", |
| | "text": "Lock", |
| | "disabled": false, |
| | "handler": "CQ.wcm.SiteAdmin.lockNode", |
| | "context": ["toolbar"], |
| | "iconCls": "cq-siteadmin-lock-icon" |
| | } |
http://localhost:4502/libs/wcm/core/content/damadmin/actions/unlock.tidy.json
| | { |
| | "jcr:primaryType": "nt:unstructured", |
| | "privileges": ["update"], |
| | "conditions": [ |
| | "CQ.wcm.SiteAdmin.hasListSelection", |
| | " CQ.wcm.SiteAdmin.unlockable" |
| | ], |
| | "target": "CQ.wcm.SiteAdmin.getTargetFromList", |
| | "cls": "cq-siteadmin-unlock", |
| | "text": "Unlock", |
| | "disabled": false, |
| | "handler": "CQ.wcm.SiteAdmin.unlockNode", |
| | "context": ["toolbar"], |
| | "iconCls": "cq-siteadmin-unlock-icon" |
| | } |