-
Notifications
You must be signed in to change notification settings - Fork 10
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
Doesn’t works without admin #34
Comments
can you please show more information (the code of the comfiguration) |
|
do you know for certain that the false path_scheme is set? And which version are you using this feature is only supported in 3.0. |
I installed the version today with composer but in the composer.json its only 2.2, how can I install 3.0? |
just change the version in the composer.json file and run composer update. |
Okay, that works now. Is there any possibility now to just use an default user? We dont have any access to an admin user... |
yea sure if you only set the default user it will work nevertheless, but some API routes cannot be executed, because they need special reading rights |
No, it then puts out the error admin index not set... |
ok this is a bug, i will fix this as soon as possible, but just set it with sample data and i should still work. |
Ok I looked into the bug and it is expected behavior, because for example in the Period Model you have alot of children and these children are, for example Teacher or Students, which are protected by the admin wall. This means: You can fetch Period without, but when the childs are fetched like Teacher and Students they require an admin account which can read Teachers and Students. |
So this would be a feature to enable it so that children will not be rendered and the original content will be but in as array |
will be solved in #39 |
okay nice, cause I cant find any documentation for the API do you have one? If so, can you send it to me so I can work with that? |
you can read more about how you can avoid the admin is not set error in the Configuration docs and there where the 'ignore_children' property is mentioned. |
I added path_scheme to my configuration but it still tries to get the data from the wrong server
The text was updated successfully, but these errors were encountered: