This is a migrated thread and some comments may be shown as answers.

Are Permission Ranges Copyable?

1 Answer 59 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 25 May 2012, 02:00 AM
Hi,

Is it possible to copy protection ranges from one document to another?

For example, I have a Paragraph in a Protected Document that is editable because of the current user that is logged in (user: editor):
<t:Paragraph StyleName="styleParagraphEditableGroup">
      <t:PermissionRangeStart AnnotationID="6">
        <t:PermissionRangeInfo Name="editor" Type="Individual" />
      </t:PermissionRangeStart>
      <t:Span Text="Editable Region Here!" />
      <t:PermissionRangeEnd AnnotationID="6" />
    </t:Paragraph>

Is it possible to copy and paste the Permission ranges into a new document? In my instance I can guarantee that the new document has the same Protection settings and users as the document that the content is being copied from.

Essentially my document has two types of permission ranges. Headers which no one can edit (i,e, they are assigned a User who doesn't really exist) and EditableGroups that can be edited by users logged in by the name editor (editors are always logged in, thus the EditableGroup regions can always be edited). 

Thanks for your time,

Rob

1 Answer, 1 is accepted

Sort by
0
Iva Toteva
Telerik team
answered on 29 May 2012, 05:16 PM
Hi Rob,

PermissionRanges are not copyable. This behavior is determined by the IsCopyable property of PermissionRangeStart and PermissionRangeEnd, which is set to false. We will consider implementing an option to copy and paste the permission ranges as such, but at this point this task has not been scheduled.
When such an extensibility option is provided, it will be possible to copy permission ranges in the same document, as well as between editors.

I hope this answers your question.

Kind regards,
Iva Toteva
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
RichTextBox
Asked by
Robert
Top achievements
Rank 1
Answers by
Iva Toteva
Telerik team
Share this question
or