Open michielbdejong opened 10 months ago
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.
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. :)
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. :)