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

Consider moving init code from app constructor to app on-enable trigger #99

Open
michielbdejong opened this issue Nov 21, 2023 · 0 comments

Comments

@michielbdejong
Copy link
Member

We have code in https://github.com/pondersource/mfazones/blob/8cfbdd8ee507f14043c4dd947649f8195381e68a/lib/AppInfo/Application.php#L81 which runs the first time an admin logs in to a newly created server.
It feels like this code would belong better in a trigger from occ apps:enable mfazones.

But from https://github.com/nextcloud/server/blob/master/apps/workflowengine/lib/Check/FileSystemTags.php#L109 it seems that a logged-in user is required to create a workflow so this is probably impossible.

Still, documenting the thought here in a GitHub issue, in case we learn more about this. :)

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