Hi,
I use GroupDocs.Annotation for .NET 2.1.1 - thanks for the quick fixes by the way!
If I add .AccessRights(AnnotationReviewerRights.None) to the annotation widget in the Groupdocs.Demo.Annotation.CustomGUI project of your examples I can still annotate, export, move annotations, …
Same behavior with:
ObjectFactory.GetInstance().SetDocumentAccessRights(FileID, AnnotationReviewerRights.None);
Only the collaborator rights (set by ObjectFactory.GetInstance().SetCollaboratorRights(FileID, UserName, rights)) will disallow actions.
I’d expect the access rights to be the intersection of the document and the collaborator rights.
By the way, the documentation could be a bit more precisely:
http://groupdocs.com/docs/display/annotationnet/AnnotationWidgetOptions+AccessRights+Property
Hello,
Hi,
Hi Pavel,
thanks for this info!
I managed to set the right user rights for our scenario.
But when I only set the user right “AnnotationReviewerRights.CanView” I still can move around annotations. After that this message pops up: “Error - This reviewer does not have enough permissions to perform the operation.” and the changes are discarded after reload.
With the CanView right I’d expect the annotations to be fixed. Allowing temporary modifications with an error message that you have no right to do that is an unusual behavior.
A ViewOnly flag would be nice with no modifications allowed.
Hi,
I could live with it, if there was a way to localize the error message in German.
Can this be done somehow?
Hi,
Hi Pavel,
thanks! There are many other localization issues like the initial “Loading your content…” message.
It would be great if all labels/tooltips/messages could be localized by a Visual Studio resx dictionary.
So the localization can be done by our own.
Hi,
Hi,
thanks, but meanwhile I was able to workaround the localization issue.
Coming back to my post from 12-23-2015, 8:29 PM:
The TextFieldAnnotation also is editable with AnnotationReviewerRights.CanView and should be readonly in this mode.
Regards,
Phil
Hi Phil,