You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some users have reported they are unable to save content in the rewrite of the CMS that we're working on. The common denominator is that those users all are not admin on the repository. I am, and I don't have issues. I already confirmed that this is indeed the issue, when I promote them to admin (which I'd rather not leave permanently) suddenly the error disappears. The error they see in their devtools:
What did I configure wrong that is causing our users to need to be admin on the repository in order to write?
You can look at the cms by cloning the repository and running npx vite. Hugo is not required for the CMS stuff. Note that the second configuration at https://github.com/DIVD-NL/web-www-v2/blob/main/admin/config.yml is our legacy config, we're in process of porting this to the TS format for better reusability.
Thanks!
The text was updated successfully, but these errors were encountered:
Sorry to be late here. I’m testing with a sample repo with a test account invited as the Write role, but it’s working fine. (The Read role doesn’t work at all, but it’s a different issue.)
Hi!
Some users have reported they are unable to save content in the rewrite of the CMS that we're working on. The common denominator is that those users all are not admin on the repository. I am, and I don't have issues. I already confirmed that this is indeed the issue, when I promote them to admin (which I'd rather not leave permanently) suddenly the error disappears. The error they see in their devtools:
Our config is a bit of a special one, as it's being bundled by Vite starting from here: https://github.com/DIVD-NL/web-www-v2/blob/main/cms/app.ts
What did I configure wrong that is causing our users to need to be admin on the repository in order to write?
You can look at the cms by cloning the repository and running
npx vite
. Hugo is not required for the CMS stuff. Note that the second configuration at https://github.com/DIVD-NL/web-www-v2/blob/main/admin/config.yml is our legacy config, we're in process of porting this to the TS format for better reusability.Thanks!
The text was updated successfully, but these errors were encountered: