Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permission denied for tei-demo user in the case of existing annotation samples #222

Open
daliboris opened this issue Apr 15, 2024 · 0 comments

Comments

@daliboris
Copy link
Contributor

I used latest docker image of TEI Publisher 9.0.0.

I logged in as tei-demo user and tried add annotation to available texts in the Annotation Samples section. After saving the changes, the following error appears:

Ooops
Permission denied: you are not allowed to save annotations.

The problem is that the owner of the files under data/annotate collection is tei, not tei-demo.

A misunderstanding may arise from the fact that Annotation Samples are described as Another playground for annotating documents. and the user will expect to be able to play with existing sample files.

Workaround is logging in as tei user.

If the user is logged in as tei-demo user and uploads their own files to the Annotation Samples section the user can edit and save the files without any problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant