Access token permissions

As we have an open-source project in Gatsby, which uses Prismic as CMS, the contributors cannot build the project without an access token.

Does it safe to share an access token publicly? Does it provide only read permission or write too? Our goal there is only giving the ability to read and not write.

Hi there,

Welcome to the Prismic community.

In fact the token that you create in your setting has a read only permission to access your content.
currently Prismic doesn't have content Write API.

So if your repository is set to private then there is no issue in sharing the URL internally, but sharing these data publicly depends on your data.

Please let us know if that answers your question,
Fares

Thanks.

So as our content is already public, there is no issue sharing the access token anyway.

1 Like

Exactly, please let us know if you have any other questions.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.