Can we restrict edit permissions?
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 14
- Joined: Wed May 25, 2016 4:51 pm
Can we restrict edit permissions?
Post by mitpatoliya »
Hi I am using oxygen xml web author editor.
I have a requirement where I need to make file editable to few users and few other users should only able to add comments. Is it possible to manage this kind of permissions? How?
Thanks.
I have a requirement where I need to make file editable to few users and few other users should only able to add comments. Is it possible to manage this kind of permissions? How?
Thanks.
-
- Posts: 517
- Joined: Thu Sep 04, 2014 4:22 pm
Re: Can we restrict edit permissions?
Post by cristi_talau »
Hello,
As part of the SDK we have some code that blocks all editing and allows only comments to be added. It is located in the com.oxygenxml.sdksamples.reviewer.EditModeAuthorDocumentFilter package of the oxygen-sample-applet module. It is implemented for the Applet distribution but works equally well for the Web Author.
So, you will have to:
- Implement an oXygen Web Author plugin [1], [2]
- Copy the class mentioned above in the plugin.
- Listen for the editor opened event using an ro.sync.exml.workspace.api.listeners.WSEditorChangeListener and register the filter.
Best,
Cristian
[1] https://www.oxygenxml.com/doc/versions/ ... ugins.html
[2] https://www.oxygenxml.com/doc/versions/ ... ugins.html
As part of the SDK we have some code that blocks all editing and allows only comments to be added. It is located in the com.oxygenxml.sdksamples.reviewer.EditModeAuthorDocumentFilter package of the oxygen-sample-applet module. It is implemented for the Applet distribution but works equally well for the Web Author.
So, you will have to:
- Implement an oXygen Web Author plugin [1], [2]
- Copy the class mentioned above in the plugin.
- Listen for the editor opened event using an ro.sync.exml.workspace.api.listeners.WSEditorChangeListener and register the filter.
Best,
Cristian
[1] https://www.oxygenxml.com/doc/versions/ ... ugins.html
[2] https://www.oxygenxml.com/doc/versions/ ... ugins.html
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service