I’m getting this message when I try to use the text or resource redaction tools:
We are sorry to hear that you have such issue. The problem that you have described is not because your source code that you have provided is incorrect. The problem lies in the database and is associated with the user with login “firstname.lastname@example.org” and his insufficient permissions.
For every user there is a permission entity which is stored in the database, in the table “AnnotationCollaborators”, column “AccessRights”. Permission entity itself is a number which is presented as enumeration “Groupdocs.Common.AnnotationReviewerRights” in the GroupDocs.Annotation library. Here it is:
None = 0,
CanView = 1,
CanAnnotate = 2,
CanDownload = 4,
CanExport = 8,
CanDelete = 16,
CanRedact = 32,
All = 63
I suppose that you obtain a something like in the screenshot below. In such case go to the database which GroupDocs.Annotation uses, find user "email@example.com" in the table “Users”, then find its “AccessRights” from table “AnnotationCollaborators” and change it respectively to the list above.
Or you can use the next T-SQL script.
How to find out which permissions user has:
SELECT [AnnotationCollaborators].AccessRights FROM [AnnotationCollaborators] INNER JOIN [Users] ON [Users].Id = [AnnotationCollaborators].[UserId] WHERE [Users].[UserName] = ‘firstname.lastname@example.org’;
How to change his permissions to another:
UPDATE AnnotationCollaborators SET AccessRights = 63 WHERE [AnnotationCollaborators].[UserId] IN (SELECT Id FROM Users WHERE UserName = ‘email@example.com’);
If you will have more questions please feel free to contact us.
Thank you Denis. This worked.