From f27a702665dac224296bdb0a78162a308dbd1ed8 Mon Sep 17 00:00:00 2001 From: Alexander Piskun <13381981+bigcat88@users.noreply.github.com> Date: Wed, 7 Aug 2024 10:45:14 +0300 Subject: [PATCH] moved PublicPage before Admin rule Signed-off-by: Alexander Piskun --- Makefile | 2 +- appinfo/info.xml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 96c8535..d8806b8 100644 --- a/Makefile +++ b/Makefile @@ -43,7 +43,7 @@ build-push-dev: .PHONY: run run: - docker exec master-nextcloud-1 sudo -u www-data php occ app_api:app:unregister windmill_app --silent --force || true + docker exec master-nextcloud-1 sudo -u www-data php occ app_api:app:unregister windmill_app --silent --force --keep-data || true docker exec master-nextcloud-1 sudo -u www-data php occ app_api:app:register windmill_app --force-scopes \ --info-xml https://raw.githubusercontent.com/cloud-py-api/windmill_app/main/appinfo/info.xml diff --git a/appinfo/info.xml b/appinfo/info.xml index 515ad09..e2dd01a 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -30,15 +30,15 @@ - .* + ^api\/w\/nextcloud\/jobs\/.* GET,POST,PUT,DELETE - ADMIN + PUBLIC [] - ^api\/w\/nextcloud\/jobs\/.* + .* GET,POST,PUT,DELETE - PUBLIC + ADMIN []