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

The directory page and forms do not work if another user is logged in. #265

Closed
alSeveR opened this issue Nov 24, 2021 · 6 comments
Closed

Comments

@alSeveR
Copy link

alSeveR commented Nov 24, 2021

I have created several forms from the nextcloud admin user and they work perfectly if this account is open or if no account is open. However, if another account is open, the link to the directory page or those of the forms are redirected to the nextcloud home page.

@SergeyMosin
Copy link
Owner

I can not reproduce, what does your "Directory" page URL looks like. It should look something like this:

https://[YOUR_DOMAIN]/index.php/apps/appointments/pub/D_G7Qa_Sow5QHbc%3D/dir

I just need the part after index.php

image

@alSeveR
Copy link
Author

alSeveR commented Nov 28, 2021

https://[DOMAIN]/index.php/apps/appointments/pub/kSoughGoHySYrX6958GT%2Bg%3D%3D/dir

@alSeveR
Copy link
Author

alSeveR commented Nov 28, 2021

I had forgotten to say that the app is only enabled for the administration account. I have already checked that if the user is in a group that can use the app, it works fine. However, for our intended use it is not useful for users to be able to create their own forms. Therefore, could we implement that even if the app is not enabled for that user, it can redirect properly to the forms?

@SergeyMosin
Copy link
Owner

Ah I see, this is a know issue the workaround is here #154 (comment) . I hope it works for you as well.

PS: I'll add info about limitToGroups setting to docs

@alSeveR
Copy link
Author

alSeveR commented Nov 29, 2021

This solution works for me. I imagine the only way to customize the message is to modify the template, and that will also be overwritten with updates.

@SergeyMosin
Copy link
Owner

@alSeveR Yes.

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

2 participants